diff --git a/pyproject.toml b/pyproject.toml index f45a128..4a8160d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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