From 647dce9818366ccc6e6de45075e8a246396f64b2 Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Sun, 29 Dec 2013 23:43:23 -0500 Subject: [PATCH] Update run_autopep8.sh flags. --- maint/scripts/run_autopep8.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maint/scripts/run_autopep8.sh b/maint/scripts/run_autopep8.sh index aad1fab2..29fe9bef 100755 --- a/maint/scripts/run_autopep8.sh +++ b/maint/scripts/run_autopep8.sh @@ -6,5 +6,6 @@ # (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. -# E301 adds a blank line between class declaration and docstring (?) -autopep8 --ignore=W602,E501,E301 -i tornado/*.py tornado/platform/*.py tornado/test/*.py +# E301 adds a blank line between docstring and first method +# E309 adds a blank line between class declaration and docstring (?) +autopep8 --ignore=W602,E501,E301,E309 -i tornado/*.py tornado/platform/*.py tornado/test/*.py