Skip to content

Commit ca3475e

Browse files
committed
Suppress Mypy error
Old workaround cases an error in latest Mypy A real fix is a breaking change for later
1 parent c422bc7 commit ca3475e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcod/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def dijkstra2d( # noqa: PLR0913
473473
Added `out` parameter. Now returns the output array.
474474
"""
475475
dist: NDArray[Any] = np.asarray(distance)
476-
if out is ...:
476+
if out is ...: # type: ignore[comparison-overlap]
477477
out = dist
478478
warnings.warn(
479479
"No `out` parameter was given. "

0 commit comments

Comments
 (0)