Skip to content

Commit b25d613

Browse files
authored
♻️🔨 Unexpected mypy upgrade revealed configuration and code failures (#6527)
1 parent da15add commit b25d613

File tree

86 files changed

+195
-122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+195
-122
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ help: ## help on rule's targets
128128

129129

130130
test_python_version: ## Check Python version, throw error if compilation would fail with the installed version
131-
python ./scripts/test_python_version.py
131+
@uv run ./scripts/test_python_version.py
132132

133133

134134
## DOCKER BUILD -------------------------------

packages/aws-library/requirements/_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ isort==5.13.2
2828
# pylint
2929
mccabe==0.7.0
3030
# via pylint
31-
mypy==1.11.2
31+
mypy==1.12.0
3232
# via -r requirements/../../../requirements/devenv.txt
3333
mypy-extensions==1.0.0
3434
# via

packages/aws-library/requirements/ci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# installs base + tests requirements
1010
--requirement _base.txt
1111
--requirement _test.txt
12+
--requirement _tools.txt
1213

1314
# installs this repo's packages
1415
pytest-simcore @ ../pytest-simcore

packages/dask-task-models-library/requirements/_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ isort==5.13.2
2727
# pylint
2828
mccabe==0.7.0
2929
# via pylint
30-
mypy==1.11.2
30+
mypy==1.12.0
3131
# via -r requirements/../../../requirements/devenv.txt
3232
mypy-extensions==1.0.0
3333
# via

packages/dask-task-models-library/requirements/ci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# installs base + tests requirements
1010
--requirement _base.txt
1111
--requirement _test.txt
12+
--requirement _tools.txt
1213

1314
# installs this repo's packages
1415
pytest-simcore @ ../pytest-simcore

packages/models-library/requirements/_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mccabe==0.7.0
3131
# via pylint
3232
mdurl==0.1.2
3333
# via markdown-it-py
34-
mypy==1.11.2
34+
mypy==1.12.0
3535
# via -r requirements/../../../requirements/devenv.txt
3636
mypy-extensions==1.0.0
3737
# via

packages/models-library/requirements/ci.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# installs base + tests requirements
1010
--requirement _base.txt
1111
--requirement _test.txt
12+
--requirement _tools.txt
1213

1314
# installs this repo's packages
1415
simcore-postgres-database[migration] @ ../postgres-database/

packages/models-library/src/models_library/utils/_original_fastapi_encoders.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# pylint: disable-all
2+
23
#
34
# wget https://raw.githubusercontent.com/tiangolo/fastapi/master/fastapi/encoders.py --output-document=_original_fastapi_encoders
45
#
@@ -75,7 +76,7 @@ def jsonable_encoder(
7576
sqlalchemy_safe=sqlalchemy_safe,
7677
)
7778
if dataclasses.is_dataclass(obj):
78-
obj_dict = dataclasses.asdict(obj) # type: ignore[call-overload]
79+
obj_dict = dataclasses.asdict(obj) # type: ignore[arg-type]
7980
return jsonable_encoder(
8081
obj_dict,
8182
include=include,

packages/notifications-library/requirements/_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ idna==3.10
2424
# requests
2525
iniconfig==2.0.0
2626
# via pytest
27-
mypy==1.11.2
27+
mypy==1.12.0
2828
# via sqlalchemy
2929
mypy-extensions==1.0.0
3030
# via mypy

packages/notifications-library/requirements/_tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ isort==5.13.2
2727
# pylint
2828
mccabe==0.7.0
2929
# via pylint
30-
mypy==1.11.2
30+
mypy==1.12.0
3131
# via
3232
# -c requirements/_test.txt
3333
# -r requirements/../../../requirements/devenv.txt

0 commit comments

Comments
 (0)