Add a tox file

This commit is contained in:
David Douard 2018-10-25 17:46:55 +02:00
parent cd20f4d223
commit 428b3aca57
2 changed files with 17 additions and 0 deletions

16
tox.ini Normal file
View file

@ -0,0 +1,16 @@
[tox]
envlist=flake8,py3
[testenv:py3]
deps =
.[testing]
pytest-cov
commands =
pytest --cov=swh --cov-branch {posargs}
[testenv:flake8]
skip_install = true
deps =
flake8
commands =
{envpython} -m flake8