From aa3cf8553105596f1ea046cf051816b5855b07d3 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Mon, 8 Sep 2014 20:29:12 +0200 Subject: [PATCH] Run flake8 checks as part of test suite. --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 637c39aa..ce495020 100644 --- a/tox.ini +++ b/tox.ini @@ -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