enable the mypy's strict mode

This commit is contained in:
jorenham 2026-01-27 14:15:56 +01:00
parent 6a5c588c5f
commit 0ac7ea2c85
No known key found for this signature in database

View File

@ -216,11 +216,10 @@ testpaths = [
[tool.mypy]
python_version = "3.10"
pretty = true
disallow_any_generics = true
disallow_untyped_defs = true
strict = true
disallow_subclassing_any = false
disallow_untyped_calls = false
enable_error_code = "ignore-without-code"
extra_checks = true
follow_imports = "silent"
warn_redundant_casts = true
no_implicit_reexport = false
warn_return_any = false
warn_unreachable = true
warn_unused_ignores = true