Run flake8 checks as part of test suite.

This commit is contained in:
Vincent Driessen 2014-09-08 20:29:12 +02:00
parent 85badaf4a0
commit aa3cf85531
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[tox]
envlist=py26,py27,py33,py34,pypy
envlist=py26,py27,py33,py34,pypy,flake8
[testenv]
commands=py.test --cov rq {posargs}
@ -14,3 +14,10 @@ deps=
pytest-cov
unittest2
mock
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands =
flake8 rq tests --max-line-length=120