Loading src/black/__init__.py +2 −2 Changes for src/black/__init__.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -5005,7 +5005,7 @@ def bracket_split_build_line( result.append(leaf, preformatted=True) for comment_after in original.comments_after(leaf): result.append(comment_after, preformatted=True) if is_body and should_split_body_explode(result, opening_bracket): if is_body and should_split(result, opening_bracket): result.should_explode = True return result Loading Loading @@ -5810,7 +5810,7 @@ def ensure_visible(leaf: Leaf) -> None: leaf.value = ")" def should_split_body_explode(line: Line, opening_bracket: Leaf) -> bool: def should_split(line: Line, opening_bracket: Leaf) -> bool: """Should `line` be immediately split with `delimiter_split()` after RHS?""" if not (opening_bracket.parent and opening_bracket.value in "[{("): Loading Loading
src/black/__init__.py +2 −2 Changes for src/black/__init__.py: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -5005,7 +5005,7 @@ def bracket_split_build_line( result.append(leaf, preformatted=True) for comment_after in original.comments_after(leaf): result.append(comment_after, preformatted=True) if is_body and should_split_body_explode(result, opening_bracket): if is_body and should_split(result, opening_bracket): result.should_explode = True return result Loading Loading @@ -5810,7 +5810,7 @@ def ensure_visible(leaf: Leaf) -> None: leaf.value = ")" def should_split_body_explode(line: Line, opening_bracket: Leaf) -> bool: def should_split(line: Line, opening_bracket: Leaf) -> bool: """Should `line` be immediately split with `delimiter_split()` after RHS?""" if not (opening_bracket.parent and opening_bracket.value in "[{("): Loading