Make mypy as strict as practical #13

Merged
alexander merged 32 commits from stricter-mypy into develop 2026-12-01 14:26:52 +01:00
Showing only changes of commit bbc00e2f1c - Show all commits

Enable "disallow_any_unimported"

Alexander Hess 2026-12-01 12:35:24 +01:00
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -446,6 +446,9 @@ check_untyped_defs = true
# Disallow generic types without explicit type parameters
disallow_any_generics = true
# Disallow types that become `Any` because their library is untyped
disallow_any_unimported = true
# Disallow functions with incomplete type annotations
disallow_incomplete_defs = true