Skip to content

Commit 2911be8

Browse files
Apply ruff/flake8-pyi preview rule PYI059 (zarr-developers#3154)
PYI059 `Generic[]` should always be the last base class
1 parent 4bf8a7e commit 2911be8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/dtype/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858

5959
@dataclass(frozen=True, kw_only=True, slots=True)
60-
class ZDType(Generic[TDType_co, TScalar_co], ABC):
60+
class ZDType(ABC, Generic[TDType_co, TScalar_co]):
6161
"""
6262
Abstract base class for wrapping native array data types, e.g. numpy dtypes
6363

0 commit comments

Comments
 (0)