summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŠarūnas Nejus <snejus@protonmail.com>2024-04-30 12:59:59 +0100
committerŠarūnas Nejus <snejus@protonmail.com>2024-04-30 22:20:37 +0100
commitb5e98b59f22f1bcef77d1a8226f4abb862429881 (patch)
treeefe6ad8773e901407213cd7de613ec9762614746
parent7d636d8f22659e99a08e56fbf047db07415d9490 (diff)
Configure mypy to require types for generics
-rw-r--r--.mypy.ini4
1 files 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