[Python-projects] Can we instrauct pylint to allow unused
nico at logilab.fr
Tue Nov 16 22:20:48 CET 2004
On Tue, Nov 16, 2004 at 09:43:19AM +0100, Sylvain Thénault wrote:
> > Is there another, better way, to acheive the same thing?
> You can either :
> - prefix your method/function by "cb_" to informe pylint that it's a
> callback and so it shouldn't check for unsused argument
> - use names listed in the "dummy-variables" configuration variable ("_"
> and "dummy" by default) as arguments names
Of course you can also suggest a better convention or a better way to achieve
the same goal as soon as you think of one :-)
logilab.fr - services en informatique avancée et gestion de connaissances
More information about the Python-Projects