
Configure a pep8 tox environment so that git-review can make use of the standard OpenStack pep8 test job. Change-Id: I4d655a6fc86bbbf6b594b7b35570e75951aef7ab
14 lines
242 B
INI
14 lines
242 B
INI
[tox]
|
|
envlist = py26,py27,pep8
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
|
|
[testenv:pep8]
|
|
deps = pep8==1.3.1
|
|
argparse
|
|
commands = pep8 --repeat --show-source setup.py git-review
|
|
|
|
[testenv:sdist]
|
|
commands = python setup.py sdist {posargs}
|