I just found this neat program called autopep8! https://github.com/hhatto/autopep8
pip install autopep8
autopep8 -i models.py
You can also do (recursively):
autopep8 -ri package/
Auto PEP8 only makes safe changes to the files, only changing layout, not code logic.