Add a tox file
This commit is contained in:
parent
cd20f4d223
commit
428b3aca57
2 changed files with 17 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ dist/
|
|||
*.egg-info
|
||||
version.txt
|
||||
swh/lister/_version.py
|
||||
.tox/
|
||||
|
|
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