xCDAT / xcdat

An extension of xarray for climate data analysis on structured grids.
https://xcdat.readthedocs.io/en/latest/
Apache License 2.0
101 stars 11 forks source link

[DevOps]: Fix latest `mypy` pre-commit errors on `main` #587

Closed tomvothecoder closed 5 months ago

tomvothecoder commented 5 months ago

https://github.com/xCDAT/xcdat/actions/runs/7390850971/job/20106586822

 pyproject.toml: [mypy]: python_version: Python 3.1 is not supported (must be 3.4 or higher). You may need to put quotes around your Python version
xcdat/temporal.py:735: error: Argument 1 to "drop_vars" of "Dataset" has incompatible type "Hashable"; expected "str | Iterable[Hashable] | Callable[[Dataset], str | Iterable[Hashable]]"  [arg-type]
Found 1 error in 1 file (checked 25 source files)