Loading black.py +2 −2 Changes for black.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2406,8 +2406,8 @@ def rhs(line: Line, features: Collection[Feature]) -> Iterator[Line]: # All splits failed, best effort split with no omits. # This mostly happens to multiline strings that are by definition # reported as not fitting a single line. # line_length=1 is silly, but somehow produces better formatting # than other things we've tried so far. See #762 and #781. # line_length=1 here was historically a bug that somehow became a feature. # See #762 and #781 for the full story. yield from right_hand_split(line, line_length=1, features=features) if line.inside_brackets: Loading Loading
black.py +2 −2 Changes for black.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -2406,8 +2406,8 @@ def rhs(line: Line, features: Collection[Feature]) -> Iterator[Line]: # All splits failed, best effort split with no omits. # This mostly happens to multiline strings that are by definition # reported as not fitting a single line. # line_length=1 is silly, but somehow produces better formatting # than other things we've tried so far. See #762 and #781. # line_length=1 here was historically a bug that somehow became a feature. # See #762 and #781 for the full story. yield from right_hand_split(line, line_length=1, features=features) if line.inside_brackets: Loading