From f514570f0f6714d61120f934cc8105077c59bf86 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 28 Jan 2024 09:15:07 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/black/trans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/black/trans.py b/src/black/trans.py index 2668d0600f9..cd95155ccd0 100644 --- a/src/black/trans.py +++ b/src/black/trans.py @@ -183,7 +183,7 @@ def handle_is_simple_look_up_prev(line: Line, index: int, disallowed: Set[int]) """ Handling the determination of is_simple_lookup for the lines prior to the doublestar token. This is required because of the need to isolate the chained expression - to determine the bracket or parenthesis belong to the single expression. + to determine the bracket or parenthesis belong to the single expression. """ contains_disallowed = False chain = [] @@ -207,7 +207,7 @@ def handle_is_simple_lookup_forward( """ Handling decision is_simple_lookup for the lines behind to the doublestar token. This function is simplified to keep consistent with the prior logic and the forward - case are more straightforward and do not need to care about chained expressions. + case are more straightforward and do not need to care about chained expressions. """ while 0 <= index < len(line.leaves): current = line.leaves[index]