Skip to content

Commit ea85415

Browse files
committed
ci: add mypy as a dependency
Signed-off-by: Amit Oren <amoren@redhat.com>
1 parent 9cd2078 commit ea85415

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ dev = [
3434
"pytest-asyncio==0.24.0",
3535
"httpx==0.27.2",
3636
"ruff==0.8.4",
37+
"mypy>=1.13",
38+
"types-PyYAML>=6.0.12",
39+
"types-requests>=2.32",
3740
]
3841

3942
[build-system]
@@ -112,6 +115,14 @@ line-ending = "auto"
112115
known-first-party = ["neuralnav"]
113116
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
114117

118+
[tool.mypy]
119+
python_version = "3.11"
120+
warn_return_any = true
121+
warn_unused_configs = true
122+
disallow_untyped_defs = false
123+
check_untyped_defs = true
124+
ignore_missing_imports = true
125+
115126
[tool.pytest.ini_options]
116127
asyncio_mode = "strict"
117128
asyncio_default_fixture_loop_scope = "session"

0 commit comments

Comments
 (0)