From 37bfdd3b38b2d2c2f088f67e7bcc2f26c6e01c1c Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 4 Jan 2013 15:46:18 -0500 Subject: fix N401 errors, stop ignoring all N4* errors We had previously been ignoring all our custom N4xx hacking.py errors. This fixes all the N401 errors "doc strings should not start with a space" and reduces the ignore set down to N402 only "single line docstrings should end with period". It also fixes the N401 parser to catch only docstrings, and not tripple quoted string blocks used later on in a function. Clean up a few of the more crazy uses of """ in our code Clean up additional funky comments to make indents a bit more consistent, and pull in lines when possible. Change-Id: I9040a1d2ca7efda83bd5e425b95d1408b5b63577 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_tests.sh') diff --git a/run_tests.sh b/run_tests.sh index a3ed97803..7bff66c7a 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -121,7 +121,7 @@ function run_pep8 { srcfiles+=" setup.py" # Until all these issues get fixed, ignore. - ignore='--ignore=N4,E12,E711,E721,E712' + ignore='--ignore=N402,E12,E711,E721,E712' ${wrapper} python tools/hacking.py ${ignore} ${srcfiles} -- cgit