Skip to content

Commit 53c3e5e

Browse files
chore: update pre-commit hook mypy
updates: - github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.20.0 Also enforce consistent indentation in the YAML config file.
1 parent e46dfcf commit 53c3e5e

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ repos:
2525
hooks:
2626
- id: sp-repo-review
2727

28-
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: v1.16.0
30-
hooks:
31-
- id: mypy
32-
args: [--config-file, pyproject.toml]
33-
additional_dependencies: [numpy, pytest, google-crc32c, crc32c, zfpy, 'zarr>=3.1.3']
28+
- repo: https://github.com/pre-commit/mirrors-mypy
29+
rev: v1.20.0
30+
hooks:
31+
- id: mypy
32+
args: [--config-file, pyproject.toml]
33+
additional_dependencies: [numpy, pytest, google-crc32c, crc32c, zfpy, 'zarr>=3.1.3']

tests/test_zarr3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import pytest
66

77
if TYPE_CHECKING: # pragma: no cover
8-
import zarr
8+
import zarr.codecs
99
else:
10-
zarr = pytest.importorskip("zarr", "3.1.3")
10+
zarr = pytest.importorskip("zarr.codecs", "3.1.3")
1111

1212
import numcodecs.zarr3 as zarr3
1313

0 commit comments

Comments
 (0)