PyCQA/pydocstyle
View on GitHubSupport a new rule: no blank line after last docstring section
Open
#530 opened on Apr 1, 2021
Minor (New Feature)Waiting for Assigneegood first issuehelp wanted
Repository metrics
- Stars
- (1,106 stars)
- PR merge metrics
- (No merged PRs in 30d)
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!