] > Re: [Python-projects] pylint: Refactor suggestions are all connected to last module (Logilab.org)

Email Re: [Python-projects] pylint: Refactor suggestions are all connected to last module

from
subject
Re: [Python-projects] pylint: Refactor suggestions are all connected to last module
date
2005/11/10 17:04
On Thursday 10 November à 16:52, Maarten ter Huurne wrote:
> Hi,

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.

Yes, I'm aware of this issue but didn't find the time to fix it. At
least it's now added into our bug tracker :) Thanks.
-- 
Sylvain Thénault                               LOGILAB, Paris (France).

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

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects