How can I catch misnamed variables?
ben+python at benfinney.id.au
Fri Feb 10 22:26:01 CET 2012
John Gordon <gordon at panix.com> writes:
> Is there an automated way to catch errors like these?
Use a static code checker, such as ‘pyflakes’ (simple but limited) or
‘pylint’ (complex but highly configurable) to catch these and many other
problems in Python code.
\ “It's a terrible paradox that most charities are driven by |
`\ religious belief.… if you think altruism without Jesus is not |
_o__) altruism, then you're a dick.” —Tim Minchin, 2010-11-28 |
More information about the Python-list