[geopandas] Add a # type: ignore (#14200)

Should help with #14194
This commit is contained in:
Sebastian Rittau
2025-06-01 01:00:37 +02:00
committed by GitHub
parent 252acdf0bc
commit 3c8c233991
+1 -1
View File
@@ -160,7 +160,7 @@ class GeoSeries(GeoPandasBase, pd.Series[BaseGeometry]): # type: ignore[type-va
# def fillna(self, value=None, method: FillnaOptions | None = None, inplace: bool = False, **kwargs): ...
def __contains__(self, other: object) -> bool: ...
@doc(plot_series)
def plot(self, *args, **kwargs): ... # signature of `plot_series` copied in `@doc`
def plot(self, *args, **kwargs): ... # type: ignore[override] # signature of `plot_series` copied in `@doc`
@doc(_explore_geoseries) # pyright: ignore[reportUnknownArgumentType]
def explore(self, *args, **kwargs): ... # signature of `_explore_geoseries` copied in `@doc`
def explode(self, ignore_index: bool = False, index_parts: bool = False) -> GeoSeries: ...