-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathtox.ini
More file actions
47 lines (41 loc) · 766 Bytes
/
tox.ini
File metadata and controls
47 lines (41 loc) · 766 Bytes
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
[tox]
envlist = py3{9,10,11,12,13},pypy3,pep8,release-check
[testenv]
deps =
flake8
pytest
pytest-cov
commands =
pytest --cov --capture=no --strict-markers {posargs}
[testenv:pep8]
deps =
flake8
flake8-import-order
pep8-naming
commands = flake8 flake8_import_order/ tests/
[testenv:setuppy]
deps =
docutils
Pygments
commands =
python setup.py check \
--metadata \
--restructuredtext
[testenv:manifest]
deps = check-manifest
commands = check-manifest
[testenv:release-check]
deps =
build
twine
commands =
python -m build
twine check dist/*
[testenv:release]
deps =
build
twine
commands =
python -m build
twine check dist/*
twine upload {posargs:--skip-existing} dist/*