In general just run the pep8 linter from https://pypi.python.org/pypi/pep8 and fix the violations.