Skip to content

Commit 0cb3924

Browse files
committed
Don't let autopep8 rewrite all the lines longer than 80 chars.
1 parent 84df7ad commit 0cb3924

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maint/scripts/run_autopep8.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
# W602 is "deprecated form of raising exception", but the fix is incorrect
66
# (and I'm not sure if the three-argument form of raise is really deprecated
77
# in the first place)
8-
autopep8 --ignore=W602 -i tornado/*.py tornado/platform/*.py tornado/test/*.py
8+
# E501 is "line longer than 80 chars" but the automated fix is ugly.
9+
autopep8 --ignore=W602,E501 -i tornado/*.py tornado/platform/*.py tornado/test/*.py

0 commit comments

Comments
 (0)