From 79d43aaaf6611414697f041df05ae8ef3ff7c71a Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 12 Apr 2026 09:51:19 +0200 Subject: [PATCH 1/2] chore: update pre-commit hook mypy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.20.2 Also enforce consistent indentation in the YAML config file. --- .pre-commit-config.yaml | 12 ++++++------ tests/test_zarr3.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59c2c983..f379fa38 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.2 + 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 From 8a8d707e8c4c4f77da2a4a16492bfa47e373af7c Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 14 May 2026 09:42:39 +0200 Subject: [PATCH 2/2] chore: update pre-commit hook mypy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - github.com/pre-commit/mirrors-mypy: v1.20.2 → v2.1.0 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f379fa38..2e45cb91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: sp-repo-review - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.2 + rev: v2.1.0 hooks: - id: mypy args: [--config-file, pyproject.toml]