Don't check build/ for pep8 violations

There's no need to run pep8 on the build dir, and it contains E502 false
positives due to some part of the build process adding line
continuations in places that they're not needed.

Change-Id: I7ea19aea2b9e46503aa8acc06ce6b9d7ea18113a
This commit is contained in:
Andrew Laski 2013-03-25 16:41:46 -04:00
parent 09c8626bdc
commit d7f1a71311
2 changed files with 3 additions and 2 deletions

View File

@ -103,7 +103,8 @@ function copy_subunit_log {
function run_pep8 {
echo "Running pep8 ..."
srcfiles="--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg ."
srcfiles="--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*"
srcfiles+=",*egg,build ."
# Just run PEP8 in current environment
#
ignore="--ignore=E12,E711,E721,E712"

View File

@ -16,7 +16,7 @@ commands = python setup.py testr --testr-args='{posargs}'
deps = pep8==1.3.3
commands =
pep8 --ignore=E12,E711,E721,E712 --show-source \
--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build .
[testenv:venv]
commands = {posargs}