mirror of https://github.com/rq/rq.git
Run flake8 checks as part of test suite.
This commit is contained in:
parent
85badaf4a0
commit
aa3cf85531
9
tox.ini
9
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist=py26,py27,py33,py34,pypy
|
envlist=py26,py27,py33,py34,pypy,flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands=py.test --cov rq {posargs}
|
commands=py.test --cov rq {posargs}
|
||||||
|
@ -14,3 +14,10 @@ deps=
|
||||||
pytest-cov
|
pytest-cov
|
||||||
unittest2
|
unittest2
|
||||||
mock
|
mock
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
basepython = python2.7
|
||||||
|
deps =
|
||||||
|
flake8
|
||||||
|
commands =
|
||||||
|
flake8 rq tests --max-line-length=120
|
||||||
|
|
Loading…
Reference in New Issue