Add option to remove blank lines between function docstring and code
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to suppress blank lines between a function's docstring and its code:
```
def foo(x, y):
"""
Do awesome stuff.
"""
return x + y
```
should be formatted as
```
def foo(x, y):
"""
Do awesome stuff.
"""
return x + y
```
Perhaps an option like `BLANK_LINE_AFTER_FUNCTION_DOCSTRING` (cf. #716).
Contributor guide
Assessment
This issue has not been assessed yet.