hhatto / autopep8

A tool that automatically formats Python code to conform to the PEP 8 style guide.
https://pypi.org/project/autopep8/
MIT License
4.56k stars 290 forks source link

autopep8 against patches #270

Open spaceone opened 7 years ago

spaceone commented 7 years ago

Are you aware of a method to apply autopep8 against paches/diff files? Or is there maybe a git merge driver which can apply autopep8 prior to merging so that one doesn't need to rebase changes by hand?

If so, README.md could contain a hint about this.

myint commented 7 years ago

I'm not sure if it is still maintained, but there is pep8radius. It looks like the unit tests are failing.

DylanYoung commented 5 years ago

That's cool, but I have to wonder why this isn't supported by autopep8 since it's a standard option for pycodestyle.