From 9ce47af00ce53b427dfb546bd809306c494951aa Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Mon, 27 May 2013 17:15:24 -0400 Subject: [PATCH] Update autopep8 blacklist --- maint/scripts/run_autopep8.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maint/scripts/run_autopep8.sh b/maint/scripts/run_autopep8.sh index 60dedb031..aad1fab2d 100755 --- a/maint/scripts/run_autopep8.sh +++ b/maint/scripts/run_autopep8.sh @@ -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 -- 2.47.2