Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist =
3 py310,py311,py312,py313,py314,pypy3,flake8
4
5 [testenv]
6 passenv =
7 LANG
8 LC_CTYPE
9 LC_ALL
10 MSYSTEM
11 extras = test
12 commands =
13 pytest {posargs}
14
15 [testenv:coverage]
16 deps =
17 coverage
18 commands =
19 coverage run -m pytest
20 coverage report -m --fail-under=100
21
22 [testenv:check-manifest]
23 basepython = python3
24 skip_install = true
25 deps = check-manifest
26 commands = check-manifest {posargs}
27
28 [testenv:check-python-versions]
29 basepython = python3
30 skip_install = true
31 deps = check-python-versions
32 commands = check-python-versions {posargs}
33
34 [testenv:flake8]
35 basepython = python3
36 skip_install = true
37 deps = flake8
38 commands = flake8 {posargs:check_manifest.py setup.py tests.py}
39
40 [testenv:mypy]
41 basepython = python3
42 skip_install = true
43 deps = mypy
44 commands = mypy {posargs:check_manifest.py}
45
46 [testenv:isort]
47 basepython = python3
48 skip_install = true
49 deps = isort
50 commands = isort {posargs: -c check_manifest.py setup.py tests.py}