Skip to content

Commit 5b0c3ac

Browse files
authored
Merge branch 'main' into feat/numcodecs-protocol
2 parents fcf84b3 + e985f1d commit 5b0c3ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66
default_stages: [pre-commit, pre-push]
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.12.2
9+
rev: v0.12.7
1010
hooks:
1111
- id: ruff-check
1212
args: ["--fix", "--show-fixes"]
@@ -22,7 +22,7 @@ repos:
2222
- id: check-yaml
2323
- id: trailing-whitespace
2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.16.1
25+
rev: v1.17.1
2626
hooks:
2727
- id: mypy
2828
files: src|tests

src/zarr/api/asynchronous.py

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

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

0 commit comments

Comments
 (0)