2012-02-09 09:08:04 +00:00
|
|
|
#!/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)
|
2012-08-27 21:30:06 +00:00
|
|
|
# E501 is "line longer than 80 chars" but the automated fix is ugly.
|
2013-05-27 21:15:24 +00:00
|
|
|
# E301 adds a blank line between class declaration and docstring (?)
|
|
|
|
autopep8 --ignore=W602,E501,E301 -i tornado/*.py tornado/platform/*.py tornado/test/*.py
|