Pyanalyze is a tool for programmatically detecting common mistakes in #python code, such as references to undefined variables and some categories of type mismatches. It can be extended to add additional rules and perform checks specific to particular functions.
It was opensourced just yesterday, so its still WIP.
https://github.com/quora/pyanalyze
Post #531
3.28K