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

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

from
cc
subject
Re: [Python-projects] False positive in static analysis ofclassmembers.
date
2006/03/09 15:16
On Thursday 09 March à 15:10, Maarten ter Huurne wrote:
> 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). 

yes. If you want to enable a message disabled in the rc file, you have
to use the --enable-msg option to override this pb.

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

hum, this is strange indeed. I've added this to our tracker to take a
look on it latter.

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org