diff options
author | Andrew Laski <andrew.laski@rackspace.com> | 2013-03-25 16:41:46 -0400 |
---|---|---|
committer | Andrew Laski <andrew.laski@rackspace.com> | 2013-03-25 16:57:06 -0400 |
commit | d7f1a71311dc8da730d281ac8c73618d3c00dc02 (patch) | |
tree | 71b81c434238b2b8a6df4806a556ef88ea5dcdf2 | |
parent | 09c8626bdc3b6eed3e5b72d12c3095d470643a54 (diff) | |
download | python-novaclient-d7f1a71311dc8da730d281ac8c73618d3c00dc02.tar.gz |
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
-rwxr-xr-x | run_tests.sh | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index a3a74cdc..a42d0d3d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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" @@ -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} |