PyCQA/pydocstyle

Support a new rule: no blank line after last docstring section

Open

#530 opened on Apr 1, 2021

View on GitHub
 (3 comments) (1 reaction) (0 assignees)Python (1,106 stars) (191 forks)batch import
Minor (New Feature)Waiting for Assigneegood first issuehelp wanted

Description

D413 says "Missing blank line after last section". It'd be awesome to have the opposite, and raise a new warning when there is a blank line at the end of a docstring. Using Google style, there shouldn't be an empty line at the end, so a warning should exist for this case.

Thank you for your consideration!

Contributor guide