pylint and the 'missing docstring' warning

John Posner jjposner at optimum.net
Tue Jan 26 08:56:50 EST 2010


On 1/26/2010 8:43 AM, Jean-Michel Pichavant wrote:
> Hello,
>
> Does anyone using pylint knows a way to make pylint ignore these
> 'missing docstring' warnings when the base class version of the method
> actually defines the docstring ?
> 'Cause my doc builder (epydoc) handle it properly and propagate
> docstrings if asked to. Too bad pylint is complaining about it.
> I don't want to deactivate this warning.
>

Look for this setting in the pylint configuration file:

   # not require a docstring
   no-docstring-rgx=__.*__

-John





More information about the Python-list mailing list