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
This commit is contained in:
Clark Boylan 2012-09-27 14:29:29 -07:00
parent 8f2aa689af
commit b0e75ededd

View File

@ -1,11 +1,13 @@
[tox] [tox]
envlist = py26,py27 envlist = py26,py27,pep8
[testenv] [testenv]
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
[testenv:pep8]
deps = pep8==1.3.1 deps = pep8==1.3.1
argparse argparse
commands = pep8 --show-source setup.py git-review commands = pep8 --repeat --show-source setup.py git-review
[testenv:sdist] [testenv:sdist]
commands = python setup.py sdist {posargs} commands = python setup.py sdist {posargs}