Skip to content

Commit 5e1234e

Browse files
committed
Remove unused ignore comment
1 parent 562d4c8 commit 5e1234e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/api/asynchronous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _like_args(a: ArrayLike, kwargs: dict[str, Any]) -> dict[str, Any]:
141141
else:
142142
# TODO: Remove type: ignore statement when type inference improves.
143143
# mypy cannot correctly infer the type of a.metadata here for some reason.
144-
new["codecs"] = a.metadata.codecs # type: ignore[unreachable]
144+
new["codecs"] = a.metadata.codecs
145145

146146
else:
147147
# TODO: set default values compressor/codecs

0 commit comments

Comments
 (0)