Awkward line break in multiple component expression #3187
Labels
F: linebreak
How should we split up lines?
R: duplicate
This issue or pull request already exists
T: style
What do we want Blackened code to look like?
Describe the style change
Prefer formatting an expression with a line break before the operator instead of breaking for a getitem key. This seems to be a rare example where black is making the code far less readable.
Examples in the current Black style
Desired style
Additional context
Maybe this is a duplicate of #236, if so feel free to close.
The text was updated successfully, but these errors were encountered: