On 24 janvier 14:57, James Lingard wrote:
> I would like the ability to disable the W0612 warning for variables created
> as the result of a sequence unpacking operation.  For example, after:
> 
>   ( a, b, c, d, e ) = mytuple
> 
> pylint will currently complain about all the unused variables.  Although I
> could rename the unused variables to something like _b to indicate they're
> supposed to be unused, I'd rather just ignore all W0612 warnings in this
> case.

# pylint: disable=W0612

doesn't do the trick?


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

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to