From b5e98b59f22f1bcef77d1a8226f4abb862429881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Tue, 30 Apr 2024 12:59:59 +0100 Subject: [PATCH] Configure mypy to require types for generics --- .mypy.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mypy.ini b/.mypy.ini index b47e5dff3..6bad7a0b6 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -1,5 +1,5 @@ [mypy] +allow_any_generics = false # FIXME: Would be better to actually type the libraries (if under our control), # or write our own stubs. For now, silence errors -ignore_missing_imports = True - +ignore_missing_imports = true