Feb 5 2014

autopep8

If I remember it, I’ll run the pep8 plugin in Wing IDE before I submit my code. And, yeah, most often I don’t remember it.

I just ran across autopep8, which automatically detects and changes code to be PEP8 compliant. It does not do everything, but it does a lot and can work in batch mode. Run it with the “-d” option first to see if you like the changes.

Leave a Reply