Priority of breaking subscripts vs breaking previous elements #1406
Labels
R: duplicate
This issue or pull request already exists
T: style
What do we want Blackened code to look like?
Describe the style change A subscript at the end of a long line of parenthesized elements gets broken in an odd way. The length must be just slightly over the line length.
Examples in the current Black style
The length is crucial. The last element must be, e.g.,
12345
or123456
to make this happenDesired style
(A last element of
1234567
would generate something like this, so it's an edge case.)This is not terrible, but I was just startled by it when I saw it.
The text was updated successfully, but these errors were encountered: