Python check

Quickly finds common Python problems without running the code: unused imports, comparisons with None and True, a bare except, mutable default arguments, over-long lines, tabs, ambiguous names, assignments that are never used and a missing final newline.