Add a tox file
This commit is contained in:
parent
cd20f4d223
commit
428b3aca57
2 changed files with 17 additions and 0 deletions
16
tox.ini
Normal file
16
tox.ini
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue