] > Re: [Python-projects] New PyLint checker suggestion - doctest_checker (Logilab.org)

Email Re: [Python-projects] New PyLint checker suggestion - doctest_checker

subject
Re: [Python-projects] New PyLint checker suggestion - doctest_checker
date
2005/10/19 13:31
Re: [Python-projects] New PyLint checker suggestion - doctest_checker

Nicolas Chauvat wrote:
> I would have myself kept seperate style-testing and
> test cases execution, but it is probably worth it to add doctest
> execution as an option to pylint as in
>
>    pylint --exec-doctest mymodule
>
> What do people have to say about that ?

If everybody is going to add its own checker (and I will),
it would be good to have some option to add it to the standard checkers.

Maybe an option like:
  --register-checker doctest_checker

pylint would locate the checker anywhere in the PYTHONPATH,
and I can put my too-specific-to-be-standard checkers
in my project directory.


--
Amaury Forgeot d'Arc
Ubix Development
www.ubitrade.com