From 96c24520f6bb0ade8de30c1db4397f814c4358cf Mon Sep 17 00:00:00 2001 From: snowman2 Date: Wed, 18 Dec 2024 16:02:48 -0600 Subject: [PATCH] LNT: Ignore return value mypy error --- geocube/rasterize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geocube/rasterize.py b/geocube/rasterize.py index d33c9ef..2e3def6 100644 --- a/geocube/rasterize.py +++ b/geocube/rasterize.py @@ -23,7 +23,7 @@ def _is_numeric(data_values: NDArray) -> bool: """ Check if array data type is numeric. """ - return numpy.issubdtype(data_values.dtype.type, numpy.number) + return numpy.issubdtype(data_values.dtype.type, numpy.number) # type: ignore[return-value] def _remove_missing_data(