Check in autopep8 script

This commit is contained in:
Ben Darnell 2012-02-09 01:08:04 -08:00
parent 605c521390
commit 2d665a41b0
2 changed files with 10 additions and 0 deletions

View File

@ -7,7 +7,9 @@ pycurl==7.19.0
# Other useful tools
Sphinx==1.1.2
autopep8==0.5
coverage==3.5.1
pep8==0.6.1
pyflakes==0.5.0
tox==1.3
virtualenv==1.7

8
maint/scripts/run_autopep8.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# Runs autopep8 in the configuration used for tornado.
#
# 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