Skip to content

Commit

Permalink
maint: fix pylint false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Feb 6, 2025
1 parent f3f76de commit 15ffe12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion odc/geo/_xr_interop.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,8 @@ def _xr_reproject_da(

if have.rasterio is False: # pragma: nocover
raise RuntimeError("Please install `rasterio` to use this method")

# pylint: disable=possibly-used-before-assignment
assert "rio_reproject" in globals() and rio_reproject is not None
assert isinstance(src.odc, ODCExtensionDa) # for mypy sake
src_gbox = src.odc.geobox

Expand Down

0 comments on commit 15ffe12

Please sign in to comment.