Skip to content

Commit 8da1afc

Browse files
committed
Fix lint
1 parent 7a25f23 commit 8da1afc

3 files changed

Lines changed: 96 additions & 124 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
]
1010
dependencies = [
1111
"httpx>=0.23.0, <1",
12-
"pydantic>=1.9.0, <3",
12+
"pydantic>=1.9.0, <2.11",
1313
"typing-extensions>=4.10, <5",
1414
"anyio>=3.5.0, <5",
1515
"distro>=1.7.0, <2",
@@ -83,13 +83,10 @@ format = { chain = [
8383

8484
"check:importable" = "python -c 'import runloop_api_client'"
8585

86-
[typecheck]
87-
88-
[tool.rye.scripts.typecheck]
89-
chain = [
86+
typecheck = { chain = [
9087
"typecheck:pyright",
9188
"typecheck:mypy"
92-
]
89+
]}
9390

9491
"typecheck:pyright" = "pyright"
9592
"typecheck:verify-types" = "pyright --verifytypes runloop_api_client --ignoreexternal"

src/runloop_api_client/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def __str__(self) -> str:
179179
@classmethod
180180
@override
181181
def construct( # pyright: ignore[reportIncompatibleMethodOverride]
182-
__cls: Type[ModelT],
182+
__cls: Type[ModelT], # type: ignore
183183
_fields_set: set[str] | None = None,
184184
**values: object,
185185
) -> ModelT:

0 commit comments

Comments
 (0)