diff --git a/xarray/compat/npcompat.py b/xarray/compat/npcompat.py index 571ebbbc39b..05cb4dcc110 100644 --- a/xarray/compat/npcompat.py +++ b/xarray/compat/npcompat.py @@ -51,7 +51,7 @@ "numeric": np.number, } - def isdtype( + def isdtype( # type: ignore[misc] dtype: np.dtype[Any] | type[Any], kind: DTypeLike | tuple[DTypeLike, ...] ) -> bool: kinds = kind if isinstance(kind, tuple) else (kind,)