Skip to content

Commit cf4d68d

Browse files
authored
support pyright 1.1.396 and mypy 1.15.0 (#1141)
1 parent 4b42588 commit cf4d68d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pandas-stubs/core/indexes/base.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Index(IndexOpsMixin[S1]):
6767
__hash__: ClassVar[None] # type: ignore[assignment]
6868
# overloads with additional dtypes
6969
@overload
70-
def __new__(
70+
def __new__( # pyright: ignore[reportOverlappingOverload]
7171
cls,
7272
data: Sequence[int | np.integer] | IndexOpsMixin[int] | np_ndarray_anyint,
7373
*,

pandas-stubs/core/series.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
249249
copy: bool = ...,
250250
) -> Series[float]: ...
251251
@overload
252-
def __new__( # type: ignore[overload-overlap]
252+
def __new__( # type: ignore[overload-overlap] # pyright: ignore[reportOverlappingOverload]
253253
cls,
254254
data: Sequence[Never],
255255
index: Axes | None = ...,

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ types-pytz = ">= 2022.1.1"
3434
numpy = ">= 1.23.5"
3535

3636
[tool.poetry.group.dev.dependencies]
37-
mypy = "1.14.1"
37+
mypy = "1.15.0"
3838
pandas = "2.2.3"
3939
pyarrow = ">=10.0.1"
4040
pytest = ">=7.1.2"
41-
pyright = ">= 1.1.393"
41+
pyright = ">=1.1.396"
4242
poethepoet = ">=0.16.5"
4343
loguru = ">=0.6.0"
4444
typing-extensions = ">=4.4.0"

0 commit comments

Comments
 (0)