From: Ben Darnell Date: Mon, 27 Aug 2012 21:30:06 +0000 (-0400) Subject: Don't let autopep8 rewrite all the lines longer than 80 chars. X-Git-Tag: v2.4.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cb3924a9e0ea37129f66afe11bbbb2589cf6724;p=thirdparty%2Ftornado.git Don't let autopep8 rewrite all the lines longer than 80 chars. --- diff --git a/maint/scripts/run_autopep8.sh b/maint/scripts/run_autopep8.sh index 5d85efd17..60dedb031 100755 --- a/maint/scripts/run_autopep8.sh +++ b/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