pep8 is a tool to check your Python code against some of the style conventions in PEP 8 <http://www.python.org/dev/peps/pep-0008/>. This requires pysetuptools.