Skip to content

Commit 557953c

Browse files
committed
format
1 parent 0da7ad0 commit 557953c

File tree

10 files changed

+3
-13
lines changed

10 files changed

+3
-13
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
from datetime import datetime
21

32
class OutOfBoundsTimedelta(ValueError): ...

pandas-stubs/_libs/tslibs/parsing.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing import Any
21

32
class DateParseError(ValueError):
43
def __init__(self, *args, **kwargs) -> None: ...

pandas-stubs/core/common.pyi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
from collections.abc import (
2-
Collection,
3-
Iterable,
4-
)
51

6-
from pandas._typing import T
72

83
def flatten(line) -> None: ...
94
def random_state(state=...): ...
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
from collections.abc import Iterator
2-
import tokenize
31

42
BACKTICK_QUOTED_STRING: int

pandas-stubs/core/computation/scope.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
class Scope:
32
level = ...
43
scope = ...

pandas-stubs/core/indexers.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import numpy as np
2+
23
def length_of_indexer(indexer, target=...) -> int: ...
34
def check_array_indexer(arrayArrayLike, indexer): ...
45

pandas-stubs/core/indexes/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ from pandas._typing import (
4646
AnyAll,
4747
AxesData,
4848
DropKeep,
49-
Dtype,
5049
DtypeArg,
5150
DtypeObj,
5251
FillnaOptions,
@@ -475,4 +474,5 @@ class Index(IndexOpsMixin[S1]):
475474
) -> Self: ...
476475

477476
UnknownIndex: TypeAlias = Index[Any]
477+
478478
def ensure_index(index_like: Sequence | Index, copy: bool = ...) -> Index: ...

pandas-stubs/core/indexing.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from typing import TypeVar
22

3-
import numpy as np
43
from pandas.core.indexes.api import Index
54
from typing_extensions import TypeAlias
65

pandas-stubs/core/ops/__init__.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing import Any
21

32
ARITHMETIC_BINOPS: set[str] = ...
43
COMPARISON_BINOPS: set[str] = ...

pandas-stubs/tseries/frequencies.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ from pandas import (
99
from pandas._typing import Frequency
1010

1111
from pandas.tseries.offsets import DateOffset
12+
1213
@overload
1314
def to_offset(freq: None, is_period: bool = ...) -> None: ...
1415
@overload

0 commit comments

Comments
 (0)