Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy 1.7.0 raising errors #8448

Closed
dcherian opened this issue Nov 12, 2023 · 0 comments · Fixed by #8501
Closed

mypy 1.7.0 raising errors #8448

dcherian opened this issue Nov 12, 2023 · 0 comments · Fixed by #8501

Comments

@dcherian
Copy link
Contributor

dcherian commented Nov 12, 2023

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant