pytest plugin to add source code sanity checks (pep8 and friends)
py.test plugin for checking PEP8 source code compliance using pyflakes.
after installation (e.g. via pip install pytest-codecheckers) you can type:
which will automatically perform source code sanity checks. If you have further questions please send them to the pytest-dev mailing list.