[Python-projects] pylint: -r/--reports option doesn't work

Adrien Di Mascio adrien.dimascio at logilab.fr
Mon Sep 15 19:18:40 CEST 2008


[Maarten ter Huurne]
> 
> > I gave a quick look at the pylint source code. Removing optparse
> > 'default' option fixes this problem (see attachment), but I don't know
> > why.
> 
> I did some debugging and the problem seems to be that if you pass "-rn",
> the "reports" option is briefly set to False like it should, but is
> overwritten by the default value (True) soon after.
> 
> In logilab/common/configuration.py, method
> load_command_line_configuration() there is the following line:

The problem seems indeed to come from logilab.common.configuration. I
opened a new ticket on the tracker::

  http://www.logilab.org/6011

This should be fixed soon.

-- 
Adrien Di Mascio                                LOGILAB, Paris (France).
Formations Python,Zope,Debian,Calcul    http://www.logilab.fr/formations
Développement logiciel sur mesure:      http://www.logilab.fr/services
Informatique scientifique:              http://www.logilab.fr/science
Python in Python:     http://codespeak.net/pypy/dist/pypy/doc/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20080915/5d4d08a5/attachment.pgp 


More information about the Python-Projects mailing list