Add flake8 checking
This commit is contained in:
parent
47d94630db
commit
6d38e2b43e
1 changed files with 6 additions and 1 deletions
7
tox.ini
7
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py26, py27, py33, py34, py35, py36
|
envlist = py26, py27, py33, py34, py35, py36, flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
@ -8,3 +8,8 @@ deps =
|
||||||
commands =
|
commands =
|
||||||
pip install -r requirements.txt --use-wheel
|
pip install -r requirements.txt --use-wheel
|
||||||
py.test --junitxml=junit-{envname}.xml --cov-report xml tests.py
|
py.test --junitxml=junit-{envname}.xml --cov-report xml tests.py
|
||||||
|
|
||||||
|
[flake8]
|
||||||
|
commands =
|
||||||
|
pip install flake8
|
||||||
|
flake8snappass/
|
||||||
|
|
Loading…
Reference in a new issue