google / google/yapf

blank line after docstring in def

Open
#1,270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

Good day and thank you for your work!
I would like YAPF to support a parameter that allows controlling the number of blank lines after docstrings within function or method declarations.
Here is an example:

![Image](https://github.com/user-attachments/assets/67e8eb41-0666-4b04-85fa-272bcc3965be)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.