]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Don't let autopep8 rewrite all the lines longer than 80 chars.
authorBen Darnell <ben@bendarnell.com>
Mon, 27 Aug 2012 21:30:06 +0000 (17:30 -0400)
committerBen Darnell <ben@bendarnell.com>
Mon, 27 Aug 2012 21:31:47 +0000 (17:31 -0400)
maint/scripts/run_autopep8.sh

index 5d85efd1760d861ef9197f7eca31bc8b4ab034fe..60dedb0312bb99cf925f43e5ca227b20c9ba83f4 100755 (executable)
@@ -5,4 +5,5 @@
 # W602 is "deprecated form of raising exception", but the fix is incorrect
 # (and I'm not sure if the three-argument form of raise is really deprecated
 # in the first place)
-autopep8 --ignore=W602 -i tornado/*.py tornado/platform/*.py tornado/test/*.py
+# 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