Skip to content

Commit 5050beb

Browse files
GH1222 Fix pre-commit
1 parent 026b91b commit 5050beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/_typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ IndexKeyFunc: TypeAlias = Callable[[Index], Index | AnyArrayLike] | None
514514

515515
# types of `func` kwarg for DataFrame.aggregate and Series.aggregate
516516
# More specific than what is in pandas
517-
AggFuncTypeBase: TypeAlias = Union[Callable, str, np.ufunc]
517+
AggFuncTypeBase: TypeAlias = Union[Callable, str, np.ufunc] # noqa: UP007
518518
AggFuncTypeDictSeries: TypeAlias = Mapping[HashableT, AggFuncTypeBase]
519519
AggFuncTypeDictFrame: TypeAlias = Mapping[
520520
HashableT, AggFuncTypeBase | list[AggFuncTypeBase]

0 commit comments

Comments
 (0)