Skip to content

Commit d720aae

Browse files
jorenhamakx
authored andcommitted
enable the mypy's strict mode
1 parent 8f86212 commit d720aae

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
@@ -187,16 +187,15 @@ lint.isort.required-imports = [
187187
max_supported_python = "3.15"
188188

189189
[tool.mypy]
190-
follow_imports = "silent"
191190
python_version = "3.11"
192-
disallow_any_generics = true
193-
disallow_untyped_defs = true
194-
warn_redundant_casts = true
195-
warn_unused_ignores = true
191+
disallow_subclassing_any = false
192+
disallow_untyped_calls = false
193+
warn_return_any = false
196194
warn_unreachable = true
197195
enable_error_code = "ignore-without-code"
198-
extra_checks = true
196+
strict = true
199197
pretty = true
198+
no_implicit_reexport = false
200199

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

0 commit comments

Comments
 (0)