From be2b58c25713cffdd2fe9599d411661de7710e3f Mon Sep 17 00:00:00 2001 From: Chuck Short Date: Mon, 19 Nov 2012 19:31:12 -0600 Subject: [PATCH] Pin pep8 to 1.3.3 Apart of making pep8 version standard across all openstack projects. With this change we ignore E712 since it is normal to use "column == True" in sqlalchemy. Change-Id: I73a162847a79558cb158112878033edf18039805 Signed-off-by: Chuck Short --- run_tests.sh | 2 +- tox.ini | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index dd1145d2c..5028adb0a 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/tox.ini b/tox.ini index 55ac0cd43..16959d621 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]