File: tox.ini

package info (click to toggle)
python-readme-renderer 44.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: python: 424; sh: 23; makefile: 6
file content (58 lines) | stat: -rw-r--r-- 934 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
envlist =
    py{39, 310, 311, 312}
    pypy{39, 310}
    pep8
    packaging
    noextra
    mypy
isolated_build = True

[testenv]
package = wheel
wheel_build_env = build_wheel
deps =
    pytest
    pytest-cov
    pytest-icdiff
setenv =
    # Display up to 20 frames in backtraces when showing ResourceWarnings.
    PYTHONTRACEMALLOC=20
commands =
    pytest -Wall --strict-markers --cov {posargs}
extras = md

[testenv:mypy]
basepython = python3
deps =
    mypy
    types-bleach
    types-docutils
    types-Pygments
commands = mypy readme_renderer

[testenv:pep8]
basepython = python3
skip_install = true
deps =
    flake8
    pep8-naming
commands = flake8 readme_renderer tests

[testenv:packaging]
deps =
    check-manifest
    build
    twine
commands =
    check-manifest
    python -m build
    python -m twine check dist/*

[testenv:noextra]
basepython = python3
extras =

[flake8]
select = E,W,F,N
max-line-length = 88