tox test flake8
This commit is contained in:
parent
8364a4cd2e
commit
1eb7450491
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ env:
|
|||
- TOXENV=py27
|
||||
- TOXENV=py33
|
||||
- TOXENV=pypy
|
||||
- TOXENV=flake8
|
||||
install:
|
||||
- pip install tox --use-mirrors
|
||||
script:
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,9 +4,11 @@
|
|||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py27, py33, pypy
|
||||
envlist = py27, py33, pypy, flake8
|
||||
|
||||
[testenv]
|
||||
commands = {envpython} setup.py test
|
||||
deps =
|
||||
|
||||
[testenv:flake8]
|
||||
commands = flake8 --max-complexity=12 blogtopoid
|
||||
|
|
Reference in a new issue