Skip to content

Commit 11b923c

Browse files
author
Andrei Neagu
committed
fixed mypy
1 parent 54865fb commit 11b923c

File tree

4 files changed

+26
-4
lines changed

4 files changed

+26
-4
lines changed

services/dynamic-scheduler/requirements/_test.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ pytest-runner
2626
pytest-sugar
2727
python-dotenv
2828
respx
29+
sqlalchemy[mypy]
30+
types-psycopg2

services/dynamic-scheduler/requirements/_test.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ greenlet==3.1.1
2727
# via
2828
# -c requirements/_base.txt
2929
# playwright
30+
# sqlalchemy
3031
h11==0.14.0
3132
# via
3233
# -c requirements/_base.txt
@@ -60,6 +61,10 @@ idna==3.10
6061
# requests
6162
iniconfig==2.0.0
6263
# via pytest
64+
mypy==1.15.0
65+
# via sqlalchemy
66+
mypy-extensions==1.1.0
67+
# via mypy
6368
packaging==24.2
6469
# via
6570
# -c requirements/_base.txt
@@ -112,13 +117,24 @@ sniffio==1.3.1
112117
# -c requirements/_base.txt
113118
# anyio
114119
# asgi-lifespan
120+
sqlalchemy==1.4.54
121+
# via
122+
# -c requirements/../../../requirements/constraints.txt
123+
# -c requirements/_base.txt
124+
# -r requirements/_test.in
125+
sqlalchemy2-stubs==0.0.2a38
126+
# via sqlalchemy
115127
termcolor==2.5.0
116128
# via pytest-sugar
129+
types-psycopg2==2.9.21.20250318
130+
# via -r requirements/_test.in
117131
typing-extensions==4.12.2
118132
# via
119133
# -c requirements/_base.txt
120134
# anyio
135+
# mypy
121136
# pyee
137+
# sqlalchemy2-stubs
122138
tzdata==2025.1
123139
# via faker
124140
urllib3==2.3.0

services/dynamic-scheduler/requirements/_tools.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ isort==6.0.1
2828
mccabe==0.7.0
2929
# via pylint
3030
mypy==1.15.0
31-
# via -r requirements/../../../requirements/devenv.txt
32-
mypy-extensions==1.0.0
3331
# via
32+
# -c requirements/_test.txt
33+
# -r requirements/../../../requirements/devenv.txt
34+
mypy-extensions==1.1.0
35+
# via
36+
# -c requirements/_test.txt
3437
# black
3538
# mypy
3639
nodeenv==1.9.1

services/dynamic-scheduler/setup.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ commit_args = --no-verify
99

1010
[tool:pytest]
1111
asyncio_mode = auto
12-
markers =
12+
markers =
1313
testit: "marks test to run during development"
1414

1515
[mypy]
16-
plugins =
16+
plugins =
1717
pydantic.mypy
18+
sqlalchemy.ext.mypy.plugin

0 commit comments

Comments
 (0)