Permalink
Browse files

Don't let autopep8 rewrite all the lines longer than 80 chars.

  • Loading branch information...
1 parent 84df7ad commit 0cb3924a9e0ea37129f66afe11bbbb2589cf6724 @bdarnell bdarnell committed Aug 27, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 maint/scripts/run_autopep8.sh
@@ -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

0 comments on commit 0cb3924

Please sign in to comment.