Option for a single line function?
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
A single line function (and method)
```
def fn(): return 10
```
is currently automatically formatted as:
```
def fn():
return 10
```
Could there be an option to keep a single line function intact?
Contributor guide
Assessment
This issue has not been assessed yet.