Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist = py37, py38, py39, py310, py311, py312, py313, pypy3, flake8
3
4 [testenv]
5 deps =
6 zope.testrunner
7 extras =
8 test
9 commands =
10 zope-testrunner --test-path=src {posargs:-v}
11
12 [testenv:py]
13 commands =
14 python --version
15 zope-testrunner --test-path=src {posargs:-v}
16
17 [testenv:coverage]
18 usedevelop = true
19 deps =
20 {[testenv]deps}
21 coverage
22 commands =
23 coverage run -p -m zope.testrunner --test-path=src
24 coverage combine
25 coverage report -m --fail-under=100
26
27 [testenv:flake8]
28 deps = flake8
29 skip_install = true
30 commands = flake8 setup.py src
31
32 [testenv:isort]
33 deps = isort
34 skip_install = true
35 commands = isort {posargs: -c --diff setup.py src}
36
37 [testenv:check-manifest]
38 deps = check-manifest
39 skip_install = true
40 commands = check-manifest {posargs}
41
42 [testenv:check-python-versions]
43 deps = check-python-versions
44 skip_install = true
45 commands = check-python-versions {posargs}