Is there a way to force YAPF to always split/fold comprehensions?
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
How to force YAPF to always split/fold comprehensions like with SPLIT_COMPLEX_COMPREHENSION when column_limit is exceeded?
I have been trying many sorts of configuration setups - all to no avail. I'd rather avoid spraying over the codebase with yapf: disable for most of non-trivial comprehensions...
I also [posted about it on Stack Overflow](https://stackoverflow.com/questions/52558919/is-there-a-way-to-force-yapf-to-always-split-fold-comprehensions). So far, no replies.
Contributor guide
Assessment
This issue has not been assessed yet.