Skip to content

Commit f506ff9

Browse files
committed
fix: remove unused type
1 parent 7787e46 commit f506ff9

File tree

1 file changed

+0
-12
lines changed
  • 2024/python/src/grice_py_aoc_2024/day08

1 file changed

+0
-12
lines changed

2024/python/src/grice_py_aoc_2024/day08/main.py

-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import time
44
from collections import defaultdict
55
from pathlib import Path
6-
from typing import Protocol
76

87
DIR = Path(__file__).parent
98
FILE = DIR.parents[3] / "inputs" / f"{DIR.stem}.txt"
@@ -12,17 +11,6 @@
1211
"""Generic coordinate, 2-tuple of ints."""
1312

1413

15-
class CalcerType(Protocol):
16-
"""Protocol for a caculator func that can be passed to `num_antinodes` function."""
17-
18-
def __call__(
19-
self,
20-
grid: list[str],
21-
c1: CoordType,
22-
c2: CoordType,
23-
) -> set[CoordType]: ...
24-
25-
2614
def _calc_anti_nodes(
2715
grid: list[str],
2816
c1: CoordType,

0 commit comments

Comments
 (0)