We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e809788 commit 585b4a3Copy full SHA for 585b4a3
numpydoc/validate.py
@@ -553,7 +553,7 @@ def validate(func_name):
553
errs.append(error("PR08", param_name=param))
554
# Not ending in "." is only an error if the last bit is not
555
# indented (e.g., quote or code block)
556
- if this_desc[-1][-1] != "." and \
+ if not this_desc[-1].endswidth(".") and \
557
not this_desc[-1].startswith(IGNORE_STARTS):
558
errs.append(error("PR09", param_name=param))
559
0 commit comments