From bbc00e2f1cd3dc17599eed50a82dc6258541c863 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Tue, 1 Dec 2026 12:35:24 +0100 Subject: [PATCH] Enable "disallow_any_unimported" --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) 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