Le Monday 20 July 2009 16:05:40 Emile Anclin, vous avez écrit :

> Some remarks for simplifying/improving pylint's user interface: imho,
> pylint should
>
> * have a tool to generate a sample pylintrc file with all checks enabled
> by default

That's the --generate-rcfile command line option


> * have a much shorter message on the '-h, --help' options, around 20 / 30
> lines (the biggest part should be in the manpage)

Can be considered. 

> * disable similarities checking by default for code of a given size

granted

> * have an option to list all checker-ids (instead of having to search the
> documentation)

Is --list-msg what you are looking for?

> * have a distinction between different kind of warnings :
>   - potential errors
>   - formatting issues (indentation, line length, name convention ...)
>   - code cleaning (unused variables ...)
>   ideally, I would like to optionally disable some of them but not the
> other ones, or have the warnings but not the Convention
>   and Refactoring issues, and so on.

Right now, filtering is by checkers. I agree filtering by severity / message 
type could be nice. I generally achieve this with grep.

> maybe it would even be better not to produce a report by default
> (the import things are the messages, not the stats).

Hmm, maybe.

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to