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

Takanori Ishikawa takanori.ishikawa at gmail.com
Sun Sep 14 12:36:57 CEST 2008


Hi, all.

pylint: -r/--reports option doesn't work. The following command still
outputs reports:

  % pylint --reports=no module

versions and environment:

  % uname -a
  Darwin macbook3.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9
19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
  % python --version
  Python 2.5.1
  % pylint --version
  No config file found, using default configuration
  pylint 0.15.0,
  astng 0.17.3, common 0.35.0
  Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
  [GCC 4.0.1 (Apple Inc. build 5465)]

on Mac OS X 10.5.4.

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.

Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylint_reports_option.patch
Type: application/octet-stream
Size: 579 bytes
Desc: not available
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20080914/ca7700e8/attachment.obj 


More information about the Python-Projects mailing list