Skip to content

Commit a235833

Browse files
committed
enable the mypy's strict mode
1 parent 3157407 commit a235833

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,14 +189,13 @@ max_supported_python = "3.14"
189189
[tool.mypy]
190190
python_version = "3.10"
191191
pretty = true
192-
disallow_any_generics = true
193-
disallow_untyped_defs = true
192+
strict = true
193+
disallow_subclassing_any = false
194+
disallow_untyped_calls = false
194195
enable_error_code = "ignore-without-code"
195-
extra_checks = true
196-
follow_imports = "silent"
197-
warn_redundant_casts = true
196+
no_implicit_reexport = false
197+
warn_return_any = false
198198
warn_unreachable = true
199-
warn_unused_ignores = true
200199

201200
[tool.pytest]
202201
addopts = [ "-ra", "--color=auto" ]

0 commit comments

Comments
 (0)