[Python-projects] A first impression of pylint
Emile Anclin
emile.anclin at logilab.fr
Tue Jul 21 11:08:52 CEST 2009
On Monday 20 July 2009 17:29:02 Sylvain Thénault wrote:
> On 20 juillet 17:17, Alexandre Fayolle wrote:
> > > * 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.
>
> filtering by category is already there (see
> --enable-msg-cat/--disable-msg-cat).
ok, sorry for not seeing all these nice options.
I modified ticket :
http://www.logilab.org/ticket/9774
and added some :
http://www.logilab.org/ticket/9791
http://www.logilab.org/ticket/9787
By the way, I must be blind but I couldn't find the IDs for the checkers
while suggesting an '-w' option being a shortcut for
-rn --msg-cat=FEW --disable-checker=R0801 [similarities_checker]
--
Emile Anclin <emile.anclin at logilab.fr>
http://www.logilab.fr/ http://www.logilab.org/
Informatique scientifique & et gestion de connaissances
More information about the Python-Projects
mailing list