Skip to content

Commit 0c7b5fe

Browse files
committed
fix: py310 and py311
1 parent 5c2a592 commit 0c7b5fe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pandas-stubs/_typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ from typing import (
2222
TypedDict,
2323
Union,
2424
overload,
25-
override,
2625
)
2726

2827
import numpy as np
@@ -39,6 +38,7 @@ from typing_extensions import (
3938
ParamSpec,
4039
TypeAlias,
4140
TypeVar,
41+
override,
4242
)
4343

4444
from pandas._libs.interval import Interval

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ args = [
134134
{ name = "nightly", positional = false, default = false, type = "boolean", required = false, help = "Compare against pandas nightly (off by default)" },
135135
]
136136

137+
[tool.ruff]
138+
target-version = 'py310'
137139

138140
[tool.black]
139141
target-version = ['py310']

0 commit comments

Comments
 (0)