Add tox configuration

This commit is contained in:
dgelessus 2019-12-30 01:18:53 +01:00
parent 1089a19c01
commit 1a416defed
2 changed files with 13 additions and 0 deletions

3
.gitignore vendored
View File

@ -2,6 +2,9 @@
*.py[co]
__pycache__/
# tox
.tox/
# setuptools
*.egg-info/
build/

10
tox.ini Normal file
View File

@ -0,0 +1,10 @@
[tox]
envlist = py{36,37,38},mypy
[testenv]
commands = {envpython} -m unittest discover --start-directory ./tests
[testenv:mypy]
deps =
mypy
commands = mypy