On Wednesday 21 July 2010 17:44:55 [email protected] wrote: > Especially as pylint already supports disabling of warnings for only > one line (if the line is short enough to append a trailing pylint > directive) > > The reason I want to use the disable statement is for example for > something like this: > > timestamp,name,fsize,permission = get_next_entry() > dosomething_with(timestamp,name,permission) > > I know, that fsize is not used, but considering the alternative this > is most comprehensible and everything else renders IMHO the code less > readable
If it is only about not using "fsize", you can call it _fsize, and it will be considered as a dummy variable (everything starting with "_" or with "dummy"; this dummy variable regex can be configured...). -- Emile Anclin <[email protected]> http://www.logilab.fr/ http://www.logilab.org/ Informatique scientifique & et gestion de connaissances _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
