python-rsrcfork/tox.ini

29 lines
530 B
INI
Raw Normal View History

2019-12-30 00:18:53 +00:00
[tox]
# When updating the Python versions here,
# please also update the corresponding Python versions in the GitHub Actions workflow (.github/workflows/ci.yml).
envlist = py{36,310},flake8,mypy,package
2019-12-30 00:18:53 +00:00
[testenv]
commands = python -m unittest discover --start-directory ./tests
2019-12-30 00:18:53 +00:00
2019-12-30 01:57:31 +00:00
[testenv:flake8]
deps =
flake8 >= 3.8.0
2019-12-30 02:04:27 +00:00
flake8-bugbear
2019-12-30 01:57:31 +00:00
flake8-tabs
commands = flake8
2019-12-30 00:18:53 +00:00
[testenv:mypy]
deps =
mypy
commands = mypy
[testenv:package]
deps =
twine
wheel >= 0.32.0
commands =
python setup.py sdist bdist_wheel
twine check dist/*