2019-12-30 01:18:53 +01:00
[tox]
2019-12-30 01:59:05 +01: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).
2020-04-19 16:16:21 +02:00
envlist = py{36,37,38},flake8,mypy,package
2019-12-30 01:18:53 +01:00
[testenv]
2020-03-30 01:46:10 +02:00
commands = python -m unittest discover --start-directory ./tests
2019-12-30 01:18:53 +01:00
2019-12-30 02:57:31 +01:00
[testenv:flake8]
deps =
2020-07-18 13:40:15 +02:00
flake8 > = 3.8.0
2019-12-30 03:04:27 +01:00
flake8-bugbear
2019-12-30 02:57:31 +01:00
flake8-tabs
commands = flake8
2019-12-30 01:18:53 +01:00
[testenv:mypy]
deps =
mypy
commands = mypy
2020-04-19 16:16:21 +02:00
[testenv:package]
deps =
twine
2020-04-19 16:20:07 +02:00
wheel > = 0.32.0
2020-04-19 16:16:21 +02:00
commands =
python setup.py sdist bdist_wheel
twine check dist/*