Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions pandas-stubs/_libs/json.pyi

This file was deleted.

12 changes: 0 additions & 12 deletions pandas-stubs/_libs/properties.pyi
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
from collections.abc import Callable

class CachedProperty:
def __init__(self, func: Callable) -> None: ...
def __get__(self, obj, typ): ...
def __set__(self, obj, value) -> None: ...

# note: this is a lie to make type checkers happy (they special
# case property). cache_readonly uses attribute names similar to
# property (fget) but it does not provide fset and fdel.
cache_readonly = property

class AxisProperty:
def __init__(self, axis: int = ..., doc: str = ...) -> None: ...
def __get__(self, obj, typ): ...
def __set__(self, obj, value) -> None: ...
1 change: 0 additions & 1 deletion pandas-stubs/_libs/tslibs/offsets.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ class BusinessDay(BaseOffset):
def __init__(
self, n: int = ..., normalize: bool = ..., offset: timedelta = ...
) -> None: ...
def __reduce__(self): ...

class BusinessHour(SingleConstructorOffset):
def __init__(
Expand Down
8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ ignore = [
"PYI042", # https://docs.astral.sh/ruff/rules/snake-case-type-alias/
"ERA001", "PLR0402", "PLC0105"
]
"indexers.pyi" = [
# TODO: remove when indexers.pyi is fully typed
"ANN001", "ANN201", "ANN204", "ANN206",
]
"multi.pyi" = [
# TODO: remove when multi.pyi is fully typed
"ANN001", "ANN201", "ANN204", "ANN206",
Expand All @@ -233,10 +229,6 @@ ignore = [
# TODO: remove when array is fully typed
"ANN001", "ANN201", "ANN204", "ANN206",
]
"*_libs*" = [
# TODO: remove when _libs is fully typed
"ANN001", "ANN201", "ANN204", "ANN206",
]
"*core/base.pyi" = [
# TODO: remove when core/base.pyi is fully typed
"ANN001", "ANN201", "ANN204", "ANN206",
Expand Down