Skip to content
forked from pydata/xarray

Commit

Permalink
Fix mypy type ignore (pydata#8564)
Browse files Browse the repository at this point in the history
* Fix mypy type ignore

* Better ignore

* more specific
  • Loading branch information
dcherian authored Dec 21, 2023
1 parent a04900d commit 03ec3cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
try:
from dask.delayed import Delayed
except ImportError:
Delayed = None # type: ignore
Delayed = None # type: ignore[misc,assignment]
try:
from iris.cube import Cube as iris_Cube
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
try:
from dask.delayed import Delayed
except ImportError:
Delayed = None # type: ignore
Delayed = None # type: ignore[misc,assignment]
try:
from dask.dataframe import DataFrame as DaskDataFrame
except ImportError:
Expand Down

0 comments on commit 03ec3cb

Please sign in to comment.