Email Re: [Python-projects] Pylint 0.6.4 does not report missing argument to __init__

from
subject
Re: [Python-projects] Pylint 0.6.4 does not report missing argument to __init__
date
2005/05/25 11:26
On Sunday 22 May à 18:25, Pierre Rouleau wrote:
> Bonjour à tous!

Bonjour Pierre,
 
> I have found a case where pylint does not report a problem in Python code.

> In the following test script, I define a Shared class where 
> Shared.__init__() requires 1 argument.  The test instantiates one 
> instance of Shared but does not specify any value.

> Pychecker properly reports the missing argument but pylint does not.

yes, and this is "normal" since this feature has not yet been
implemented in pylint. I wish to had this at some point, but it needs a
bunch of coding  I don't have the time to provide now...

cheers
-- 
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