From a152f10d4c467ab83fd28d7f3873c0f0c2a89619 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 17 Dec 2014 18:51:57 -0600 Subject: [PATCH] Ensure flake8 passes itself in tests --- tox.ini | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 371027d..fe5b375 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 envlist = - py26,py27,py32,py33,py34 + py25,py26,py27,py32,py33,py34,py27-flake8,py34-flake8 [testenv] usedevelop = True @@ -10,6 +10,18 @@ commands = python setup.py test -q python setup.py flake8 +[testenv:py27-flake8] +basepython = python2.7 +deps = + flake8 +commands = flake8 {posargs} flake8/ + +[testenv:py34-flake8] +basepython = python3.4 +deps = + flake8 +commands = flake8 {posargs} flake8/ + [flake8] select = E,F,W max_line_length = 79