From dbb4f7f646addd2d55859c5ee0cd2dcc006bfab0 Mon Sep 17 00:00:00 2001 From: Stephan Hoyer Date: Thu, 20 Nov 2025 10:21:24 -0800 Subject: [PATCH] Fix numpy typing issue with numpy=2.3.5 --- xarray/compat/npcompat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,)