diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59c2c983..1f0bdeac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,9 +25,9 @@ repos: hooks: - id: sp-repo-review - - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.0 - hooks: - - id: mypy - args: [--config-file, pyproject.toml] - additional_dependencies: [numpy, pytest, google-crc32c, crc32c, zfpy, 'zarr>=3.1.3'] + - repo: https://github.com/pre-commit/mirrors-mypy + rev: v1.20.0 + hooks: + - id: mypy + args: [--config-file, pyproject.toml] + additional_dependencies: [numpy, pytest, google-crc32c, crc32c, zfpy, 'zarr>=3.1.3'] diff --git a/tests/test_zarr3.py b/tests/test_zarr3.py index 9aac0e3c..94fcfc36 100644 --- a/tests/test_zarr3.py +++ b/tests/test_zarr3.py @@ -5,9 +5,9 @@ import pytest if TYPE_CHECKING: # pragma: no cover - import zarr + import zarr.codecs else: - zarr = pytest.importorskip("zarr", "3.1.3") + zarr = pytest.importorskip("zarr.codecs", "3.1.3") import numcodecs.zarr3 as zarr3