You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
Pydocstyle won't raise D417 when a section called Returns is present in the docstring.
With pydocstyle 5.0.1, the following example won't raise a D417 (pydocstyle example.py --convention google):
"""Example."""
def foo(a, b, c):
"""Docstring.
Arguments:
a (int): First number
b (int): Second number
d (int): Third number
Returns:
int: sum
"""
return a + b + c
When I change Returns to Returns, D417 is raised. Also, when no Returns or Return section is present, D417 is raised.
The text was updated successfully, but these errors were encountered:
Pydocstyle won't raise D417 when a section called
Returns
is present in the docstring.With pydocstyle 5.0.1, the following example won't raise a D417 (
pydocstyle example.py --convention google
):When I change
Returns
toReturns
, D417 is raised. Also, when noReturns
orReturn
section is present, D417 is raised.The text was updated successfully, but these errors were encountered: