pyflakes

passive checker of Python programs

Here are some articles that you may find helpful