[Python-projects] pylint: No warning on unused arguments in constructor

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Jun 5 08:07:37 CEST 2009


On 04 juin 21:20, Huurne, Maarten ter wrote:
> Hi all,

Hi Maarteen
 
> pylint issues message W0613 if a method does not use all of its arguments. However, if a constructor does not use all of its arguments, no message is issued.
> 
> Is this intentional or is it an oversight?

sounds like an oversight. I've filed a ticket: http://www.logilab.org/ticket/9263 

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the Python-Projects mailing list