Hi Skip, On 30 décembre 13:45, [email protected] wrote: > Is it possible to set a flag for pylint so that it will complain about > instance attributes which appear to be unused within the methods defined by > the class? If we were examining local variables, a typo might well result > in one or two messages (unused or undefined). I'd like similar protection > for instance attributes. I realize that lack of use is not necessarily > incorrect, but it might well suggest a problem. False positives are fine. > It's probably not something I would enable all the time.
everything is possible :) And I agree this could be interesting, as well as variation on this (eg, class, function, etc... unused). Would you file a ticket for this so we don't forget it? -- 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
