From 001ab8f5add50e26c839b0e603661c401ca6fbed Mon Sep 17 00:00:00 2001 From: RedGuy12 <61329810+RedGuy12@users.noreply.github.com> Date: Fri, 22 Mar 2024 12:08:35 -0500 Subject: [PATCH] chore: Format Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com> --- src/black/lines.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/black/lines.py b/src/black/lines.py index 85184635718..6b65372fb3f 100644 --- a/src/black/lines.py +++ b/src/black/lines.py @@ -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)