From 3c8c233991772d74d546e9f74d21a03af4a8f92b Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Sun, 1 Jun 2025 01:00:37 +0200 Subject: [PATCH] [geopandas] Add a # type: ignore (#14200) Should help with #14194 --- stubs/geopandas/geopandas/geoseries.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/geopandas/geopandas/geoseries.pyi b/stubs/geopandas/geopandas/geoseries.pyi index debf95e95..bb45f01cd 100644 --- a/stubs/geopandas/geopandas/geoseries.pyi +++ b/stubs/geopandas/geopandas/geoseries.pyi @@ -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: ...