pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Add runtime type checking #9744

Open DimitriPapadopoulos opened 2 weeks ago

DimitriPapadopoulos commented 2 weeks ago

Is your feature request related to a problem?

Runtime type checking in CI tests may provide the "automated way of checking" suggested at the end of https://github.com/pydata/xarray/issues/9581.

Describe the solution you'd like

Add pytest-beartype to CI tests.

Describe alternatives you've considered

No response

Additional context

I expect this:

welcome[bot] commented 2 weeks ago

Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!