summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2012-10-11 19:31:11 +0000
committerJoe Gordon <jogo@cloudscaling.com>2012-10-11 19:34:41 +0000
commit43b198c5eeab3c6bf87467130632205cdccaf0af (patch)
tree19f89a614418242aed87523028f7d44b54bb6328
parentba585524e32965697c1a44c8fd743dea060bb1af (diff)
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
-rwxr-xr-xrun_tests.sh4
1 files 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}
}