Link Keeping score in test-driven development with Python, PyLint, unittest, doctest, and PyRate

see also
pylint http://www.pylint.org/ analyzes Python source code looking for bugs and signs of poor quality