python-rsrcfork/tox.ini

28 lines
530 B
INI
Raw Normal View History

2019-12-30 00:18:53 +00:00
[tox]
2019-12-30 00:59:05 +00:00
# When adding a new Python version here, please also update the list of Python versions called by the GitHub Actions workflow (.github/workflows/ci.yml).
envlist = py{36,37,38},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/*