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.anc...@logilab.fr>
http://www.logilab.fr/   http://www.logilab.org/ 
Informatique scientifique & et gestion de connaissances
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to