From a73ab815c385e38430c927b67b63d23b65ce37f2 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Mon, 12 Nov 2018 15:03:43 -0500 Subject: [PATCH] DOC: Improve GL03 message re: blank lines at end of docstrings. re: issue #23632 --- scripts/validate_docstrings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index ed84e58049cae..27a3055d07a50 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -64,7 +64,9 @@ 'in the docstring (do not close the quotes in the same line as ' 'the text, or leave a blank line between the last text and the ' 'quotes)', - 'GL03': 'Use only one blank line to separate sections or paragraphs', + 'GL03': 'Double line break found; please use only one blank line to ' + 'separate sections or paragraphs, and do not leave blank lines ' + 'at the end of docstrings', 'GL04': 'Private classes ({mentioned_private_classes}) should not be ' 'mentioned in public docstrings', 'GL05': 'Tabs found at the start of line "{line_with_tabs}", please use '