pydocstyle icon indicating copy to clipboard operation
pydocstyle copied to clipboard

Google convention section names not properly checked

Open ziima opened this issue 2 years ago • 0 comments

Google convention specifies docstring sections to be formatted as

Returns:
    The return value. True for success, False otherwise.

but pydocstyle doesn't report an error if section is formatted as

Returns: The return value. True for success, False otherwise.

D406 can't be used because it complains about the section name ending with a colon.

ziima avatar Sep 21 '23 09:09 ziima