keystone/tox.ini
Dan Prince e19a62c7df Make tox.ini run pep8 checks on bin.
This updates the pep8 checks in our tox.ini file so that
we are also scanning the bin directory.

Additionally, it updates the main pep8 check so that it scans
keystone properly as well. Previously there were a bunch of files
getting skipped due to some of the pep8 pattern matching.

Change-Id: I13827f1c1e4155aa6979c10e981da5422391bf2d
2012-11-12 12:20:26 -05:00

30 lines
701 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = nosetests {posargs}
[testenv:pep8]
deps = pep8==1.3.3
commands =
pep8 --exclude=.venv,.tox,dist,doc,openstack,vendor,*egg --repeat --show-source .
pep8 --repeat --show-source --filename=keystone* bin
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}