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 spontaneously reporting new error #274

Open
sharkinsspatial opened this issue Oct 25, 2024 · 1 comment
Open

mypy spontaneously reporting new error #274

sharkinsspatial opened this issue Oct 25, 2024 · 1 comment
Labels
CI Continuous Integration typing

Comments

@sharkinsspatial
Copy link
Collaborator

mypy has begun reporting a new error without any changes to the underlying code or from what I can tell any changes in the versions of the mypy packages installed.

virtualizarr/readers/common.py:34: error: Cannot assign to a type  [misc]
virtualizarr/readers/common.py:34: error: Incompatible types in assignment (expression has type "<typing special form>", variable has type "type[DataTree]")  [assignment]
virtualizarr/readers/common.py:37: error: Definition of "__array__" in base class "ManifestArray" is incompatible with definition in base class "ExplicitlyIndexed"  [misc]

This error just began appearing in the Github action and I am unable to reproduce it locally.

@TomNicholas TomNicholas added CI Continuous Integration typing labels Oct 25, 2024
@TomNicholas
Copy link
Member

Maybe same as pydata/xarray#9624?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration typing
Projects
None yet
Development

No branches or pull requests

2 participants