From 43b198c5eeab3c6bf87467130632205cdccaf0af Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 11 Oct 2012 19:31:11 +0000 Subject: Update run_tests.sh pep8 ignore list for pep8 1.2 Patch I32a8808c6c9cccfedcc4d2a26649333aca1cd713 changed pep8 to 1.2 but did not update the ignore list in run_tests.sh Change-Id: I9d2cab79197ba3cdd7103d4532e28a999c9454f4 --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 0b7f52a55..287db1440 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -117,7 +117,7 @@ function run_pep8 { srcfiles+=" setup.py" # Until all these issues get fixed, ignore. - ignore='--ignore=N4' + ignore='--ignore=N4,E12,E711,E712,E721,E502' ${wrapper} python tools/hacking.py ${ignore} ${srcfiles} @@ -125,7 +125,7 @@ function run_pep8 { # checks are too strict. pep8onlyfiles=`find plugins -type f -name "*.py"` pep8onlyfiles+=" `find plugins/xenserver/xenapi/etc/xapi.d/plugins/ -type f -perm +111`" - ${wrapper} pep8 ${pep8onlyfiles} + ${wrapper} pep8 ${ignore} ${pep8onlyfiles} } -- cgit