Skip to content

Commit 560695e

Browse files
committed
chore(pyrefly): remove-unused-ignores
1 parent 6cf48fc commit 560695e

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

pandas-stubs/core/arrays/datetimelike.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class DatetimeLikeArrayMixin(ExtensionOpsMixin, ExtensionArray):
6060
@property
6161
def shape(self): ...
6262
def reshape(self, *args: Any, **kwargs: Any): ...
63-
def ravel(self, *args: Any, **kwargs: Any): ... # pyrefly: ignore
63+
def ravel(self, *args: Any, **kwargs: Any): ...
6464
def __iter__(self): ...
6565
@property
6666
def asi8(self) -> np.ndarray: ...
@@ -85,7 +85,7 @@ class DatetimeLikeArrayMixin(ExtensionOpsMixin, ExtensionArray):
8585
def unique(self): ...
8686
def copy(self): ...
8787
def shift(self, periods: int = 1, fill_value=..., axis: int = ...): ...
88-
def repeat(self, repeats, *args: Any, **kwargs: Any): ... # pyrefly: ignore
88+
def repeat(self, repeats, *args: Any, **kwargs: Any): ...
8989
def value_counts(self, dropna: bool = True): ...
9090
def map(self, mapper): ...
9191
def isna(self): ...

pandas-stubs/core/groupby/generic.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class NamedAgg(NamedTuple):
5757

5858
class SeriesGroupBy(GroupBy[Series[S2]], Generic[S2, ByT]):
5959
@overload
60-
def aggregate( # pyrefly: ignore
60+
def aggregate(
6161
self,
6262
func: Callable[Concatenate[Series[S2], P], S3],
6363
/,

pandas-stubs/core/indexes/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ class Index(IndexOpsMixin[S1]):
929929
@type_check_only
930930
class _IndexSubclassBase(Index[S1], Generic[S1, GenericT_co]):
931931
@overload
932-
def to_numpy( # pyrefly: ignore
932+
def to_numpy(
933933
self,
934934
dtype: None = None,
935935
copy: bool = False,

pandas-stubs/core/indexes/multi.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class MultiIndex(Index):
109109
def dropna(self, how: AnyAll = "any") -> Self: ...
110110
def get_level_values(self, level: str | int) -> Index: ...
111111
def unique(self, level=...): ...
112-
def to_frame( # pyrefly: ignore
112+
def to_frame(
113113
self,
114114
index: bool = True,
115115
name: list[HashableT] = ...,
@@ -131,7 +131,7 @@ class MultiIndex(Index):
131131
def __getitem__( # pyright: ignore[reportIncompatibleMethodOverride]
132132
self, key: int
133133
) -> tuple: ...
134-
def append(self, other): ... # pyrefly: ignore
134+
def append(self, other): ...
135135
def repeat(self, repeats, axis=...): ...
136136
def drop(self, codes, level: Level | None = None, errors: str = "raise") -> Self: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
137137
def swaplevel(self, i: int = -2, j: int = -1): ...

pandas-stubs/core/indexes/range.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class RangeIndex(_IndexSubclassBase[int, np.int64]):
8181
def all(self, *args: Any, **kwargs: Any) -> bool: ...
8282
def any(self, *args: Any, **kwargs: Any) -> bool: ...
8383
@final
84-
def union( # pyrefly: ignore
84+
def union(
8585
self, other: list[HashableT] | Index, sort: bool | None = None
8686
) -> Index | Index[int] | RangeIndex: ...
8787
@overload # type: ignore[override]

pandas-stubs/core/series.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4620,7 +4620,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
46204620
**kwargs: Any,
46214621
) -> np_1darray: ...
46224622
@overload
4623-
def to_numpy( # pyrefly: ignore[bad-override]
4623+
def to_numpy(
46244624
self: Series[Timestamp],
46254625
dtype: type[np.datetime64] | None = None,
46264626
copy: bool = False,
@@ -4636,7 +4636,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
46364636
**kwargs: Any,
46374637
) -> np_1darray[GenericT]: ...
46384638
@overload
4639-
def to_numpy( # pyrefly: ignore[bad-override]
4639+
def to_numpy(
46404640
self: Series[Timedelta],
46414641
dtype: type[np.timedelta64] | None = None,
46424642
copy: bool = False,

pandas-stubs/core/window/ewm.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ExponentialMovingWindowGroupby(
5151
class OnlineExponentialMovingWindow(ExponentialMovingWindow[NDFrameT]):
5252
def reset(self) -> None: ...
5353
def aggregate(self, func, *args: Any, **kwargs: Any): ...
54-
def std(self, bias: bool = False, *args: Any, **kwargs: Any): ... # pyrefly: ignore
54+
def std(self, bias: bool = False, *args: Any, **kwargs: Any): ...
5555
def corr(
5656
self,
5757
other: DataFrame | Series | None = None,
@@ -66,7 +66,7 @@ class OnlineExponentialMovingWindow(ExponentialMovingWindow[NDFrameT]):
6666
numeric_only: bool = False,
6767
): ...
6868
def var(self, bias: bool = False, numeric_only: bool = False): ...
69-
def mean( # pyrefly: ignore
69+
def mean(
7070
self,
7171
*args: Any,
7272
update: NDFrameT | None = ...,

0 commit comments

Comments
 (0)