Skip to content

mypy 1.7.0 raising errors #8448

Closed
Closed
@dcherian

Description

@dcherian

What happened?

 xarray/namedarray/core.py:758: error: Value of type Never is not indexable  [index]
xarray/core/alignment.py:684: error: Unused "type: ignore" comment  [unused-ignore]
xarray/core/alignment.py:1156: error: Unused "type: ignore" comment  [unused-ignore]
xarray/core/dataset.py: note: In member "sortby" of class "Dataset":
xarray/core/dataset.py:7967: error: Incompatible types in assignment (expression has type "tuple[Alignable, ...]", variable has type "tuple[DataArray, ...]")  [assignment]
xarray/core/dataset.py:7979: error: "Alignable" has no attribute "isel"  [attr-defined]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions