Make run_tests.sh pep8 conf match tox.

Updates our run_tests.sh pep8 excludes so that match what we do
in tox.ini (Adds E711,E712 to the exclude list)

Change-Id: Iaf2cee898a957847d444aa7c48db1d4ad088ab6e
This commit is contained in:
Dan Prince 2013-03-05 21:01:02 -05:00
parent f1f914b687
commit 995f730f5a

View File

@ -103,7 +103,7 @@ function run_pep8 {
PEP8_EXCLUDE="vcsversion.py,*.pyc,openstack"
# we now turn off pep8 1.3 E125 check to avoid make change to
# openstack-common .
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --ignore=E125 --repeat --show-source"
PEP8_OPTIONS="--exclude=$PEP8_EXCLUDE --ignore=E125,E711,E712 --repeat --show-source"
PEP8_INCLUDE="bin/* quantum run_tests.py setup*.py"
${wrapper} pep8 $PEP8_OPTIONS $PEP8_INCLUDE
}