hayd / pep8radius

PEP8 clean only the parts of the files touched since the last commit, a previous commit or (the merge-base of) a branch.
MIT License
183 stars 9 forks source link

Add option to return non-zero status code for fixes #83

Closed kstark closed 8 years ago

kstark commented 8 years ago

This allows for easier integration with automated tools without having to capture the output.

hayd commented 8 years ago

Thank you! This looks great.

Would be nice to have a way to test this, but since tests seem to be failing at the moment (!) (a recent autopep8 removed some line-fixing functionality, and I've not made time to reimplement). I'll fix the tests and push a release on Sat.

BTW Are you using yapf or autopep8?

kstark commented 8 years ago

Thanks! We're using autopep8, haven't tried out yapf yet.