= Python Style Guide
The Metrics Team uses PEP8 for its Python projects unless there's a reason to do otherwise.
Suggested tools are...
pyflakes - Static analysis checker.
pylintcan be useful too but pyflakes is more easily integrated into your test suite.
pycodestyle - Previously called
pep8, this is a highly configurable style checker that by default validates compliance with the PEP8 specification.
Stem provides testing functions to make integrating with both of these easy.