Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ci:
default_stages: [pre-commit, pre-push]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.11
rev: v0.13.1
hooks:
- id: ruff-check
args: ["--fix", "--show-fixes"]
Expand All @@ -23,7 +23,7 @@ repos:
exclude: mkdocs.yml
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.17.1
rev: v1.18.2
hooks:
- id: mypy
files: src|tests
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ ignore = [
"RET505",
"RET506",
"RUF005",
"RUF043",
"SIM108",
"TRY003",
"UP038", # https://github.com/astral-sh/ruff/issues/7871
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
Expand Down
5 changes: 1 addition & 4 deletions src/zarr/core/dtype/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ class variable, and it should generally be unique across different data types.
"""

# this class will create a native data type
# mypy currently disallows class variables to contain type parameters
# but it seems OK for us to use it here:
# https://github.com/python/typing/discussions/1424#discussioncomment-7989934
dtype_cls: ClassVar[type[TDType_co]] # type: ignore[misc]
dtype_cls: ClassVar[type[TDType_co]]
_zarr_v3_name: ClassVar[str]

@classmethod
Expand Down
Loading