SZanlongo
2/3/2015 - 8:39 PM

autopep8 auto-formats your python script. It makes your python script to conform PEP8 Style Guide From https://stackoverflow.com/questions/2

autopep8 auto-formats your python script. It makes your python script to conform PEP8 Style Guide From https://stackoverflow.com/questions/2625294/how-do-i-autoformat-some-python-code-to-be-correctly-formatted

pip install autopep8
autopep8 your_script.py    # dry-run, only print
autopep8 -i your_script.py # replace content