Skip to content

Commit

Permalink
Check in autopep8 script
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Feb 9, 2012
1 parent 605c521 commit 2d665a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maint/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions maint/scripts/run_autopep8.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d665a4

Please sign in to comment.