Skip to content

Commit a73ab81

Browse files
committed
DOC: Improve GL03 message re: blank lines at end of docstrings.
re: issue pandas-dev#23632
1 parent 011b79f commit a73ab81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/validate_docstrings.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
'in the docstring (do not close the quotes in the same line as '
6565
'the text, or leave a blank line between the last text and the '
6666
'quotes)',
67-
'GL03': 'Use only one blank line to separate sections or paragraphs',
67+
'GL03': 'Double line break found; please use only one blank line to '
68+
'separate sections or paragraphs, and do not leave blank lines '
69+
'at the end of docstrings',
6870
'GL04': 'Private classes ({mentioned_private_classes}) should not be '
6971
'mentioned in public docstrings',
7072
'GL05': 'Tabs found at the start of line "{line_with_tabs}", please use '

0 commit comments

Comments
 (0)