Skip to content

Commit 585b4a3

Browse files
committed
MAINT: Unify
1 parent e809788 commit 585b4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def validate(func_name):
553553
errs.append(error("PR08", param_name=param))
554554
# Not ending in "." is only an error if the last bit is not
555555
# indented (e.g., quote or code block)
556-
if this_desc[-1][-1] != "." and \
556+
if not this_desc[-1].endswidth(".") and \
557557
not this_desc[-1].startswith(IGNORE_STARTS):
558558
errs.append(error("PR09", param_name=param))
559559

0 commit comments

Comments
 (0)