From aad1a9a6f56ca25f6ce5e72d96ee2c24d33e89d7 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