From d7c5b1b658c69c6aaf33cfd624205f8e098d1fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 8 Dec 2024 14:05:14 +0100 Subject: [PATCH] Apply formatting. --- src/holt59/aoc/base.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/holt59/aoc/base.py b/src/holt59/aoc/base.py index bc644b9..5ba8ada 100644 --- a/src/holt59/aoc/base.py +++ b/src/holt59/aoc/base.py @@ -7,12 +7,10 @@ _T = TypeVar("_T") class ProgressHandler(Protocol): @overload - def wrap(self, values: Sequence[_T]) -> Iterator[_T]: - ... + def wrap(self, values: Sequence[_T]) -> Iterator[_T]: ... @overload - def wrap(self, values: Iterable[_T], total: int) -> Iterator[_T]: - ... + def wrap(self, values: Iterable[_T], total: int) -> Iterator[_T]: ... class BaseSolver: @@ -33,5 +31,4 @@ class BaseSolver: self.outputs = outputs @abstractmethod - def solve(self, input: str) -> Iterator[Any] | None: - ... + def solve(self, input: str) -> Iterator[Any] | None: ...