Skip to content

Commit 6b7bfc9

Browse files
authored
remove undocumented (#1523)
1 parent 7bd8065 commit 6b7bfc9

File tree

4 files changed

+0
-27
lines changed

4 files changed

+0
-27
lines changed

pandas-stubs/_libs/json.pyi

Lines changed: 0 additions & 6 deletions
This file was deleted.

pandas-stubs/_libs/properties.pyi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
from collections.abc import Callable
2-
3-
class CachedProperty:
4-
def __init__(self, func: Callable) -> None: ...
5-
def __get__(self, obj, typ): ...
6-
def __set__(self, obj, value) -> None: ...
7-
81
# note: this is a lie to make type checkers happy (they special
92
# case property). cache_readonly uses attribute names similar to
103
# property (fget) but it does not provide fset and fdel.
114
cache_readonly = property
12-
13-
class AxisProperty:
14-
def __init__(self, axis: int = ..., doc: str = ...) -> None: ...
15-
def __get__(self, obj, typ): ...
16-
def __set__(self, obj, value) -> None: ...

pandas-stubs/_libs/tslibs/offsets.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ class BusinessDay(BaseOffset):
124124
def __init__(
125125
self, n: int = ..., normalize: bool = ..., offset: timedelta = ...
126126
) -> None: ...
127-
def __reduce__(self): ...
128127

129128
class BusinessHour(SingleConstructorOffset):
130129
def __init__(

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ ignore = [
205205
"PYI042", # https://docs.astral.sh/ruff/rules/snake-case-type-alias/
206206
"ERA001", "PLR0402", "PLC0105"
207207
]
208-
"indexers.pyi" = [
209-
# TODO: remove when indexers.pyi is fully typed
210-
"ANN001", "ANN201", "ANN204", "ANN206",
211-
]
212208
"multi.pyi" = [
213209
# TODO: remove when multi.pyi is fully typed
214210
"ANN001", "ANN201", "ANN204", "ANN206",
@@ -233,10 +229,6 @@ ignore = [
233229
# TODO: remove when array is fully typed
234230
"ANN001", "ANN201", "ANN204", "ANN206",
235231
]
236-
"*_libs*" = [
237-
# TODO: remove when _libs is fully typed
238-
"ANN001", "ANN201", "ANN204", "ANN206",
239-
]
240232
"*core/base.pyi" = [
241233
# TODO: remove when core/base.pyi is fully typed
242234
"ANN001", "ANN201", "ANN204", "ANN206",

0 commit comments

Comments
 (0)