Skip to content

Commit

Permalink
chore: Format
Browse files Browse the repository at this point in the history
Signed-off-by: RedGuy12 <[email protected]>
  • Loading branch information
cobaltt7 committed Mar 22, 2024
1 parent 0ba1fad commit 001ab8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/black/lines.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,9 +862,9 @@ def is_line_short_enough( # noqa: C901
# directly after MLS/MLS-containing expression
ignore_ctxs: List[Optional[LN]] = [None]
ignore_ctxs += multiline_string_contexts
if (
line.inside_brackets or leaf.bracket_depth > 0
) and (i != len(line.leaves) - 1 or leaf.prev_sibling not in ignore_ctxs):
if (line.inside_brackets or leaf.bracket_depth > 0) and (
i != len(line.leaves) - 1 or leaf.prev_sibling not in ignore_ctxs
):
commas[leaf.bracket_depth] += 1
if max_level_to_update != math.inf:
max_level_to_update = min(max_level_to_update, leaf.bracket_depth)
Expand Down

0 comments on commit 001ab8f

Please sign in to comment.