Skip to content

Commit ef35a19

Browse files
twoertweinrhshadrach
authored andcommitted
TYP: enable reportMissingImports (pandas-dev#43790)
1 parent aa0a1d6 commit ef35a19

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pandas/_libs/reshape.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import numpy as np
22

3-
import pandas._tying as npt
3+
from pandas._typing import npt
44

55
def unstack(
66
values: np.ndarray, # reshape_t[:, :]

pandas/_libs/tslibs/timedeltas.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ from typing import (
77
)
88

99
import numpy as np
10-
from pands._typing import npt
1110

1211
from pandas._libs.tslibs import (
1312
NaTType,
1413
Tick,
1514
)
15+
from pandas._typing import npt
1616

1717
_S = TypeVar("_S")
1818

pandas/io/excel/_pyxlsb.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pyright: reportMissingImports=false
12
from __future__ import annotations
23

34
from pandas._typing import (

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,13 @@ skip = "pandas/__init__.py"
159159
pythonVersion = "3.8"
160160
typeCheckingMode = "strict"
161161
include = ["pandas"]
162-
exclude = ["pandas/tests", "pandas/util/version"]
162+
exclude = ["pandas/tests", "pandas/io/clipboard", "pandas/util/version"]
163163
reportGeneralTypeIssues = false
164164
reportConstantRedefinition = false
165165
reportFunctionMemberAccess = false
166166
reportImportCycles = false
167167
reportIncompatibleMethodOverride = false
168168
reportIncompatibleVariableOverride = false
169-
reportMissingImports = false
170169
reportMissingModuleSource = false
171170
reportMissingTypeArgument = false
172171
reportMissingTypeStubs = false

0 commit comments

Comments
 (0)