From b0e75ededd08bb128289e69255fbbccee70dad0b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 27 Sep 2012 14:29:29 -0700 Subject: [PATCH] Configure a pep8 tox environment. Configure a pep8 tox environment so that git-review can make use of the standard OpenStack pep8 test job. Change-Id: I4d655a6fc86bbbf6b594b7b35570e75951aef7ab --- tox.ini | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index cb13fbc..fc4dfdb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,13 @@ [tox] -envlist = py26,py27 +envlist = py26,py27,pep8 [testenv] setenv = VIRTUAL_ENV={envdir} + +[testenv:pep8] deps = pep8==1.3.1 argparse -commands = pep8 --show-source setup.py git-review +commands = pep8 --repeat --show-source setup.py git-review [testenv:sdist] commands = python setup.py sdist {posargs}