Skip to content

Commit 7fcbbd3

Browse files
committed
lint
1 parent 97002a9 commit 7fcbbd3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_codecs/test_numcodecs.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
from zarr.abc.numcodec import Numcodec, _is_numcodec_cls
1313
from zarr.codecs import numcodecs as _numcodecs
1414
from zarr.codecs._v2 import codec_json_v2_to_v3
15-
from zarr.core.common import CodecJSON
1615
from zarr.errors import ZarrUserWarning
1716
from zarr.registry import get_numcodec
1817

1918
if TYPE_CHECKING:
2019
from collections.abc import Iterator
2120

22-
from zarr.core.common import CodecJSON_V2, ZarrFormat
21+
from zarr.core.common import CodecJSON, CodecJSON_V2, ZarrFormat
2322

2423
CODECS_WITH_SPECS: Final = ("zstd", "gzip", "blosc")
2524

@@ -59,7 +58,7 @@ def codec_conf() -> Iterator[Any]:
5958

6059

6160
def test_get_numcodec() -> None:
62-
assert get_numcodec({"id": "gzip", "level": 2}) == GZip(level=2) # type: ignore[typeddict-unknown-key]
61+
assert get_numcodec({"id": "gzip", "level": 2}) == GZip(level=2)
6362

6463

6564
def test_is_numcodec() -> None:

0 commit comments

Comments
 (0)