Debian Codegraph @

tox.ini

raw
1 [tox]
2 envlist = py3{9,10,11,12,13},pypy3,pep8,release-check
3
4 [testenv]
5 deps =
6 flake8
7 pytest
8 pytest-cov
9 commands =
10 pytest --cov --capture=no --strict-markers {posargs}
11
12 [testenv:pep8]
13 deps =
14 flake8
15 flake8-import-order
16 pep8-naming
17 commands = flake8 flake8_import_order/ tests/
18
19 [testenv:setuppy]
20 deps =
21 docutils
22 Pygments
23 commands =
24 python setup.py check \
25 --metadata \
26 --restructuredtext
27
28 [testenv:manifest]
29 deps = check-manifest
30 commands = check-manifest
31
32 [testenv:release-check]
33 deps =
34 build
35 twine
36 commands =
37 python -m build
38 twine check dist/*
39
40 [testenv:release]
41 deps =
42 build
43 twine
44 commands =
45 python -m build
46 twine check dist/*
47 twine upload {posargs:--skip-existing} dist/*