From ee84b28f5a0f9a4bf3a6968588f3201794f318ca Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 16 Dec 2022 12:09:21 +0100 Subject: [PATCH] Ignore function complexity --- 2022/day13_distress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2022/day13_distress.py b/2022/day13_distress.py index fedf418..52b4021 100644 --- a/2022/day13_distress.py +++ b/2022/day13_distress.py @@ -43,7 +43,7 @@ def solve_part_1(data: DataType) -> int: return total -def lower_than(left: list, right: list) -> bool | None: +def lower_than(left: list, right: list) -> bool | None: # noqa: C901 """True if left is lower than right.""" for left_item, right_item in zip(left, right): if isinstance(left_item, int) and isinstance(right_item, int):