Skip to content

Commit cc21e89

Browse files
authored
chore(tooling,deps): update mypy to 1.20 (#2633)
1 parent 9e7225a commit cc21e89

7 files changed

Lines changed: 126 additions & 35 deletions

File tree

packages/testing/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test = [
6767
]
6868
lint = [
6969
"ruff==0.13.2",
70-
"mypy==1.17.0",
70+
"mypy==1.20.0",
7171
"types-requests>=2.31,<2.33",
7272
]
7373
dev = [

packages/testing/src/execution_testing/base_types/tests/test_base_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def test_json_deserialization(
280280
self,
281281
can_be_deserialized: bool,
282282
model_instance: Any,
283-
json: str | Dict[str, Any],
283+
json: Dict[str, Any],
284284
) -> None:
285285
"""Test that to_json returns the expected JSON for the given object."""
286286
if not can_be_deserialized:

packages/testing/src/execution_testing/fixtures/tests/test_blockchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def test_json_deserialization(
11601160
self,
11611161
can_be_deserialized: bool,
11621162
model_instance: Any,
1163-
json_repr: str | Dict[str, Any],
1163+
json_repr: Dict[str, Any],
11641164
) -> None:
11651165
"""Test that to_json returns the expected JSON for the given object."""
11661166
if not can_be_deserialized:

packages/testing/src/execution_testing/fixtures/tests/test_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_json_deserialization(
112112
self,
113113
can_be_deserialized: bool,
114114
model_instance: Any,
115-
json: str | Dict[str, Any],
115+
json: Dict[str, Any],
116116
) -> None:
117117
"""Test that to_json returns the expected JSON for the given object."""
118118
if not can_be_deserialized:

packages/testing/src/execution_testing/test_types/tests/test_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def test_json_deserialization(
698698
self,
699699
can_be_deserialized: bool,
700700
model_instance: Any,
701-
json: str | Dict[str, Any],
701+
json: Dict[str, Any],
702702
) -> None:
703703
"""Test that to_json returns the expected JSON for the given object."""
704704
if not can_be_deserialized:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ test = [
214214
]
215215
lint = [
216216
"codespell==2.4.1",
217-
"mypy==1.17.0",
217+
"mypy==1.20.0",
218218
"ruff==0.13.2",
219219
"vulture==2.14.0",
220220
"types-requests>=2.31,<2.33",

uv.lock

Lines changed: 120 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)