Create a plugin or have a builtin to check for pep8 compliance.
While in debug or just automatically have the editor check for pep8 compliance.
Brian Lachniet commented
Better yet, run flake8 (https://flake8.readthedocs.org/en/2.4.1/) which runs PEP8 and other tools!
This would be nice and also only reason why my dev team didn't move over to Visual studio