from
Maarten ter Huurne <maarten.ter.huurne at philips dot com>
to
Python-Projects <python-projects at lists dot logilab dot org>
subject
[Python-projects] pylint: Refactor suggestions are all connected to
last module
date
2005/11/10 16:52
Hi,
If pylint finds duplicate code, it issues messages of type "R" (refactor). In the "% errors / warnings by module" overview table, the "refactor" column contains 0% everywhere except for the last module, which is listed as 100%. And if the report is made in HTML format, the "Messages" table lists the last module for all refactor messages as well.
I'm not sure if "last" means last alphabetically or last on the command line, since in my case that is equivalent.
Example:
There are three source files: a.py, b.py and c.py.
There is duplicated code between a and b.
But the overview table "% errors / warnings by module" will show module c having 100% of the refactor messages.
Bye,
Maarten
