-
Notifications
You must be signed in to change notification settings - Fork 264
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (35 loc) · 783 Bytes
/
tox.ini
File metadata and controls
39 lines (35 loc) · 783 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
[tox]
envlist =
py39-flake8-{v5,v6,latest},
py310-flake8-{v5,v6,latest},
py311-flake8-{v5,v6,latest},
py312-flake8-{v5,v6,latest},
py313-flake8-{v5,v6,latest},
py313-flake8,
pypy3
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313, py313-flake8
pypy-3.9: pypy3
[testenv]
commands = python run_tests.py
deps =
flake8-v5: flake8 >= 5.0.0, < 6.0.0
flake8-v6: flake8 >= 6.0.0, < 7.0.0
flake8-latest: flake8
[testenv:py311-flake8]
basepython = python3.11
commands =
flake8 {posargs} src/pep8ext_naming.py
python setup.py check --restructuredtext
[testenv:release]
deps =
twine >= 1.4.0
wheel
commands =
python setup.py sdist bdist_wheel
twine upload {posargs} dist/*