Add knob to control line split before/after member access (.)
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
In many languages, it is common to split long lines at member access, with the '.' operator moved to the new line, and I tend to prefer this approach in python. It makes it easier to visually parse chained calls/accesses. YAPF tends to add line breaks _after_ the '.'. Could there be a new option to tell YAPF to prefer splitting before?
Contributor guide
Assessment
This issue has not been assessed yet.