From 5e68bf36407d6a5d20d0c48728f718e2f93a3064 Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Sat, 23 Nov 2024 00:51:31 +0100 Subject: [PATCH] Enable some more mypy checks --- mypy.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mypy.ini b/mypy.ini index 0c09ee80..aea869cb 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,8 +5,7 @@ show_traceback = True warn_redundant_casts = True warn_unused_configs = True warn_unused_ignores = True -; Enabling this will fail on subclasses of untyped imports, e.g. pkginfo -; disallow_subclassing_any = True +disallow_subclassing_any = True disallow_any_generics = True disallow_untyped_calls = True disallow_untyped_defs = True