]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Update autopep8 blacklist
authorBen Darnell <ben@bendarnell.com>
Mon, 27 May 2013 21:15:24 +0000 (17:15 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 27 May 2013 21:15:24 +0000 (17:15 -0400)
maint/scripts/run_autopep8.sh

index 60dedb0312bb99cf925f43e5ca227b20c9ba83f4..aad1fab2d2198071273b41e75e19eccb0bc0adde 100755 (executable)
@@ -6,4 +6,5 @@
 # (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.
-autopep8 --ignore=W602,E501 -i tornado/*.py tornado/platform/*.py tornado/test/*.py
+# E301 adds a blank line between class declaration and docstring (?)
+autopep8 --ignore=W602,E501,E301 -i tornado/*.py tornado/platform/*.py tornado/test/*.py