-
-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Labels
help wantedIssue could use help from someone with familiarity on the topicIssue could use help from someone with familiarity on the topictypes
Milestone
Description
We've started seeing the following errors in our pre-commit action. Would be good if we can give these some attention this week.
src/zarr/core/metadata.py:586: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader [misc]
src/zarr/core/metadata.py:586: error: Variable "zarr.core.metadata.INTEGER_DTYPE" is not valid as a type [valid-type]
src/zarr/core/metadata.py:586: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
src/zarr/core/metadata.py:598: error: Variable "zarr.core.metadata.INTEGER_DTYPE" is not valid as a type [valid-type]
src/zarr/core/metadata.py:598: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
src/zarr/core/metadata.py:621: error: Item INTEGER_DTYPE? of "BoolDType | INTEGER_DTYPE? | Float16DType | Float32DType | Float64DType | Complex64DType | Complex128DType" has no attribute "type" [union-attr]
src/zarr/core/metadata.py:637: error: Item INTEGER_DTYPE? of "BoolDType | INTEGER_DTYPE? | Float16DType | Float32DType | Float64DType | Complex64DType | Complex128DType" has no attribute "type" [union-attr]
src/zarr/codecs/crc32c_.py:40: error: Argument 1 to "crc32c" has incompatible type "ndarray[Any, dtype[Any]]"; expected "Buffer" [arg-type]
src/zarr/codecs/crc32c_.py:55: error: Argument 1 to "crc32c" has incompatible type "ndarray[Any, dtype[Any]]"; expected "Buffer" [arg-type]
src/zarr/codecs/sharding.py:104: error: Returning Any from function declared to return "tuple[int, ...]" [no-any-return]
Found 8 errors in 3 files (checked 66 source files)
Metadata
Metadata
Assignees
Labels
help wantedIssue could use help from someone with familiarity on the topicIssue could use help from someone with familiarity on the topictypes
Type
Projects
Status
Done