]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Update run_autopep8.sh flags.
authorBen Darnell <ben@bendarnell.com>
Mon, 30 Dec 2013 04:43:23 +0000 (23:43 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 30 Dec 2013 04:43:23 +0000 (23:43 -0500)
maint/scripts/run_autopep8.sh

index aad1fab2d2198071273b41e75e19eccb0bc0adde..29fe9befcad0304c0ff094f76a23b3019d1dd747 100755 (executable)
@@ -6,5 +6,6 @@
 # (and I'm not sure if the three-argument form of raise is really deprecated
 # in the first place)
 # E501 is "line longer than 80 chars" but the automated fix is ugly.
-# E301 adds a blank line between class declaration and docstring (?)
-autopep8 --ignore=W602,E501,E301 -i tornado/*.py tornado/platform/*.py tornado/test/*.py
+# E301 adds a blank line between docstring and first method
+# E309 adds a blank line between class declaration and docstring (?)
+autopep8 --ignore=W602,E501,E301,E309 -i tornado/*.py tornado/platform/*.py tornado/test/*.py