"static" checking

Adrien Di Mascio adinospam at logilab.fr
Thu Jan 29 03:34:22 EST 2004


Le Thu, 29 Jan 2004 04:37:17 +0000, Moosebumps a écrit :

Hi,
> I'm wondering what kind of checking I can do on a python program before
> running it (besides reading over every line).  I hate running a long python
> script, only to have it fail at the end because I misspelled a function
> name, or made some other silly mistake that a compiler would normally catch.
> Then I have to run it all over again to see what happened or come up with
> some sort of short test.

Have a look at pylint (http://www.logilab.org/projects/pylint)

Cheers,

-- 
Adrien Di Mascio
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr   http://www.logilab.org





More information about the Python-list mailing list