Skip to content

Commit 8c25d37

Browse files
committed
Removed unused Mypy ignores
Changed with Mypy update
1 parent 414a2dd commit 8c25d37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tcod/path.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ def __init__(self, cost: tcod.map.Map | ArrayLike | _EdgeCostFunc, diagonal: flo
183183
self._callback,
184184
self._userdata,
185185
self.shape,
186-
) = self.cost.get_tcod_path_ffi() # type: ignore[union-attr]
186+
) = self.cost.get_tcod_path_ffi()
187187
self._path_c = ffi.gc(
188188
self._path_new_using_function(
189-
self.cost.shape[0], # type: ignore[union-attr]
190-
self.cost.shape[1], # type: ignore[union-attr]
189+
self.cost.shape[0],
190+
self.cost.shape[1],
191191
self._callback,
192192
self._userdata,
193193
diagonal,

0 commit comments

Comments
 (0)