From dc8efe36d9e72c93bd20be759b5e464190ba238f Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Mon, 2 May 2022 12:15:50 -0500 Subject: [PATCH] TYPE: remove query_utm_crs_info ignore & ignore is_dask_collection (#519) --- rioxarray/raster_writer.py | 2 +- rioxarray/rioxarray.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rioxarray/raster_writer.py b/rioxarray/raster_writer.py index 24c111d0..c737a03b 100644 --- a/rioxarray/raster_writer.py +++ b/rioxarray/raster_writer.py @@ -22,7 +22,7 @@ from dask import is_dask_collection except ImportError: - def is_dask_collection(_): + def is_dask_collection(_) -> bool: # type: ignore """ Replacement method to check if it is a dask collection """ diff --git a/rioxarray/rioxarray.py b/rioxarray/rioxarray.py index cc349005..029ca7b9 100644 --- a/rioxarray/rioxarray.py +++ b/rioxarray/rioxarray.py @@ -500,7 +500,7 @@ def estimate_utm_crs(self, datum_name: str = "WGS 84") -> rasterio.crs.CRS: # pylint: disable=import-outside-toplevel try: from pyproj.aoi import AreaOfInterest - from pyproj.database import query_utm_crs_info # type: ignore + from pyproj.database import query_utm_crs_info except ImportError: raise RuntimeError("pyproj 3+ required for estimate_utm_crs.") from None