diff --git a/run_tests.sh b/run_tests.sh index dd1145d2c0..5028adb0ae 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -128,7 +128,7 @@ function run_pep8 { srcfiles+=" setup.py" # Until all these issues get fixed, ignore. - ignore='--ignore=N4,E12,E711,E721' + ignore='--ignore=N4,E12,E711,E721,E712' ${wrapper} python tools/hacking.py ${ignore} ${srcfiles} diff --git a/tools/test-requires b/tools/test-requires index b3d4b5a228..8a97720fae 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -8,7 +8,7 @@ nose testtools openstack.nose_plugin>=0.7 nosehtmloutput -pep8==1.2 +pep8==1.3.3 pylint==0.25.2 sphinx>=1.1.2 feedparser diff --git a/tox.ini b/tox.ini index 55ac0cd43e..16959d621e 100644 --- a/tox.ini +++ b/tox.ini @@ -22,11 +22,11 @@ sitepackages = True downloadcache = ~/cache/pip [testenv:pep8] -deps=pep8==1.2 +deps=pep8==1.3.3 commands = - python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \ + python tools/hacking.py --ignore=N4,E12,E711,E721,E712 --repeat --show-source \ --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg . - python tools/hacking.py --ignore=N4,E12,E711,E721 --repeat --show-source \ + python tools/hacking.py --ignore=N4,E12,E711,E721,E712 --repeat --show-source \ --filename=nova* bin [testenv:pylint]