] > Re: [Python-projects] False positive in static analysis ofclassmembers. (Logilab.org)

Email Re: [Python-projects] False positive in static analysis ofclassmembers.

from
to
subject
Re: [Python-projects] False positive in static analysis ofclassmembers.
date
2006/03/09 15:10

syt@logilab.fr wrote on 2006-03-08 04:14:39 PM:

> On Tuesday 07 March ? 14:54, Maarten ter Huurne wrote:
> > python-projects-bounces@lists.logilab.org wrote on 2006-03-07 01:59:03 PM:
> >
> > I tried "--disable-msg=" in combination with "--generate-rcfile", but the
> > disabled IDs do not show up in the output.
>
> probably because the --disable-msg option occured after the --generate-rcfile
> option.

Indeed it does work if I put "--disable-msg" first.

However, there is another problem: when running pylint, disabled messages from the command line and from the rcfile are merged (so if a message is disabled in either location, it is disabled for the run). But when using "--generate-rcfile", the messages that were already disabled in the rcfile do not show up in the output, only the messages disabled from the command line are in the output.

Bye,
                Maarten