Skip to content

Commit

Permalink
TYP: ignore typing error (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Aug 1, 2024
1 parent 62e595e commit 795fbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xvec/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def to_geopandas(self) -> GeoDataFrame | pd.DataFrame:
gdf = gdf.T
return gdf.reset_index().set_geometry( # type: ignore
self._geom_indexes[0],
crs=self._obj.xindexes[self._geom_indexes[0]].crs,
crs=self._obj.xindexes[self._geom_indexes[0]].crs, # type: ignore
)
warnings.warn(
"No geometry to return, falling back to DataArray.to_pandas().",
Expand Down

0 comments on commit 795fbec

Please sign in to comment.