] > Re: [Python-projects] pylint (Logilab.org)

Email Re: [Python-projects] pylint

from
to
Fredrik Svensson <fredrik at glaze dot se>
subject
Re: [Python-projects] pylint
date
2005/06/03 14:07
On Friday 03 June à 14:00, Fredrik Svensson wrote:
> god day!

> we have a project that we would like to lint. pylint hangs on linting it 
> though...
> We're thinking that perhaps pylint is executing the code and due to the 
> serial
> communication in the program "hangs" wainting for input...

> is pylint executing the code? and if yes what would we need to do to stop it
> from executing and only look at the source code?

recent versions of pylint (>=0.6) don't execute the code anymore, or
more exactly only in some circumstances involving compiled modules.
Notice that if your project is big and pylint compliant enough, it might
take some time to see some messages (parsing + analyzing are really cpu
intensive, and with buffered output, it make really take a long time to
see the first message). I've personnaly never seen a case where pylint
definitly hangs... Anyway if you can report the problem with the
smallest possible test case, I would be very interested.

regards
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to