Skip to content

Commit

Permalink
TYPE: remove query_utm_crs_info ignore & ignore is_dask_collection (#519
Browse files Browse the repository at this point in the history
)
  • Loading branch information
snowman2 authored May 2, 2022
1 parent ca62a67 commit dc8efe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rioxarray/raster_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion rioxarray/rioxarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dc8efe3

Please sign in to comment.