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).
2020-04-19 14:16:21 +00:00
envlist = py{36,37,38},flake8,mypy,package
2019-12-30 00:18:53 +00:00
[testenv]
2020-03-29 23:46:10 +00:00
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 =
2020-07-18 11:40:15 +00:00
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
2020-04-19 14:16:21 +00:00
[testenv:package]
deps =
twine
2020-04-19 14:20:07 +00:00
wheel > = 0.32.0
2020-04-19 14:16:21 +00:00
commands =
python setup.py sdist bdist_wheel
twine check dist/*