diff --git a/pandas/_libs/reshape.pyi b/pandas/_libs/reshape.pyi index 893826a35d41e..110687fcd0c31 100644 --- a/pandas/_libs/reshape.pyi +++ b/pandas/_libs/reshape.pyi @@ -1,6 +1,6 @@ import numpy as np -import pandas._tying as npt +from pandas._typing import npt def unstack( values: np.ndarray, # reshape_t[:, :] diff --git a/pandas/_libs/tslibs/timedeltas.pyi b/pandas/_libs/tslibs/timedeltas.pyi index 8de02aa566456..7c0131cf28c9a 100644 --- a/pandas/_libs/tslibs/timedeltas.pyi +++ b/pandas/_libs/tslibs/timedeltas.pyi @@ -7,12 +7,12 @@ from typing import ( ) import numpy as np -from pands._typing import npt from pandas._libs.tslibs import ( NaTType, Tick, ) +from pandas._typing import npt _S = TypeVar("_S") diff --git a/pandas/io/excel/_pyxlsb.py b/pandas/io/excel/_pyxlsb.py index 52a67336aaa82..4b2b9f7a3a678 100644 --- a/pandas/io/excel/_pyxlsb.py +++ b/pandas/io/excel/_pyxlsb.py @@ -1,3 +1,4 @@ +# pyright: reportMissingImports=false from __future__ import annotations from pandas._typing import ( diff --git a/pyproject.toml b/pyproject.toml index 0223a1c035cbc..fe48a4d684cf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -159,14 +159,13 @@ skip = "pandas/__init__.py" pythonVersion = "3.8" typeCheckingMode = "strict" include = ["pandas"] -exclude = ["pandas/tests", "pandas/util/version"] +exclude = ["pandas/tests", "pandas/io/clipboard", "pandas/util/version"] reportGeneralTypeIssues = false reportConstantRedefinition = false reportFunctionMemberAccess = false reportImportCycles = false reportIncompatibleMethodOverride = false reportIncompatibleVariableOverride = false -reportMissingImports = false reportMissingModuleSource = false reportMissingTypeArgument = false reportMissingTypeStubs = false