Skip to content

Commit b3beb52

Browse files
committed
stubdefaulter added 222 defaults
1 parent d3fec83 commit b3beb52

27 files changed

+222
-222
lines changed

pandas-stubs/_config/config.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def reset_option(pat: str) -> None: ...
1515
@overload
1616
def describe_option(pat: str, _print_desc: Literal[False]) -> str: ...
1717
@overload
18-
def describe_option(pat: str, _print_desc: Literal[True] = ...) -> None: ...
18+
def describe_option(pat: str, _print_desc: Literal[True] = True) -> None: ...
1919

2020
class DictWrapper:
2121
def __init__(self, d: dict[str, Any], prefix: str = ...) -> None: ...

pandas-stubs/_testing/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def assert_series_equal(
125125
obj: str = ...,
126126
*,
127127
check_index: Literal[False],
128-
check_like: Literal[False] = ...,
128+
check_like: Literal[False] = False,
129129
) -> None: ...
130130
@overload
131131
def assert_series_equal(
@@ -145,7 +145,7 @@ def assert_series_equal(
145145
atol: float = ...,
146146
obj: str = ...,
147147
*,
148-
check_index: Literal[True] = ...,
148+
check_index: Literal[True] = True,
149149
check_like: bool = ...,
150150
) -> None: ...
151151
def assert_frame_equal(

pandas-stubs/core/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class IndexOpsMixin(OpsMixin, Generic[S1]):
8282
@overload
8383
def value_counts(
8484
self,
85-
normalize: Literal[False] = ...,
85+
normalize: Literal[False] = False,
8686
sort: bool = ...,
8787
ascending: bool = ...,
8888
bins=...,

pandas-stubs/core/dtypes/dtypes.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class CategoricalDtype(PandasExtensionDtype, ExtensionDtype):
4242
def ordered(self) -> Ordered: ...
4343

4444
class DatetimeTZDtype(PandasExtensionDtype):
45-
def __init__(self, unit: Literal["ns"] = ..., tz: TimeZones = ...) -> None: ...
45+
def __init__(self, unit: Literal["ns"] = "ns", tz: TimeZones = ...) -> None: ...
4646
@property
4747
def unit(self) -> Literal["ns"]: ...
4848
@property

0 commit comments

Comments
 (0)