Hello list,

I'm using

$ pylint --version
pylint 0.25.0,
astng 0.23.0, common 0.57.1
Python 2.7.3 (default, Aug  1 2012, 05:16:07)
[GCC 4.6.3]


I'm looking for a way of running just the similarities checker on my code.

I've managed so far with:

pylint
--disable="basic,logging,string_format,format,typecheck,variables,miscellaneous,metrics,imports,classes,design,exceptions,newstyle"

but this is quite awkward, and not resistant to future addition of new
checkers.

Ideally, I'd like to be able to write --disable-all
--enable=similarities, but this does not work (disable-all being only
available as an in-file directive, as far as I can tell). Any other
suggestion before I wet my hands in a patch to enable --disable-all on
the command line?

-- Alexandre


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

Reply via email to