Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c25d37

Browse files
committed
Removed unused Mypy ignores
Changed with Mypy update
1 parent414a2dd commit8c25d37

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)

[8]ページ先頭

©2009-2025 Movatter.jp