Skip to content

Commit cce75ec

Browse files
check_untyped_defs pandas.core.window.expanding
1 parent 0843795 commit cce75ec

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pandas/core/window/expanding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def aggregate(self, func, *args, **kwargs):
143143

144144
@Substitution(name="expanding")
145145
@Appender(_shared_docs["count"])
146-
def count(self, **kwargs):
147-
return super().count(**kwargs)
146+
def count(self):
147+
return super().count()
148148

149149
@Substitution(name="expanding")
150150
@Appender(_shared_docs["apply"])

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@ check_untyped_defs=False
264264
[mypy-pandas.core.window.ewm]
265265
check_untyped_defs=False
266266

267-
[mypy-pandas.core.window.expanding]
268-
check_untyped_defs=False
269-
270267
[mypy-pandas.core.window.rolling]
271268
check_untyped_defs=False
272269

0 commit comments

Comments
 (0)