summaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/.mypy.ini b/.mypy.ini
index b1cd8967c..289f3eb87 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -3,7 +3,7 @@ python_version = 3.6
### --strict
warn_unused_configs = True
-# disallow_any_generics = True
+disallow_any_generics = True
disallow_subclassing_any = True
# disallow_untyped_calls = True
# disallow_untyped_defs = True
@@ -83,6 +83,10 @@ disallow_untyped_defs = True
[mypy-qutebrowser.config.*]
disallow_untyped_defs = True
+[mypy-qutebrowser.config.configtypes]
+# Needs some major work to use specific generics
+disallow_any_generics = False
+
[mypy-qutebrowser.api.*]
disallow_untyped_defs = True