Enable "disallow_any_unimported"

This commit is contained in:
Alexander Hess 2026-12-01 12:35:24 +01:00
commit bbc00e2f1c
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 generic types without explicit type parameters
disallow_any_generics = true 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 functions with incomplete type annotations
disallow_incomplete_defs = true disallow_incomplete_defs = true