summaryrefslogtreecommitdiff
path: root/mypy.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-10 19:32:38 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-10 19:32:38 +0200
commit3679d3a05b273cbac206c52632ae0c369e7cccf2 (patch)
tree5c1a3367429479b2cc9a5c95336f11657e725b3a /mypy.ini
parente25a96de948f96365e87c6f53bba0753abd17711 (diff)
downloadqutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.tar.gz
qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.zip
mypy: Disallow incomplete defs globally
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini20
1 files changed, 1 insertions, 19 deletions
diff --git a/mypy.ini b/mypy.ini
index 7ed04e37e..98150f002 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -9,8 +9,7 @@ warn_unused_configs = True
disallow_subclassing_any = True
# disallow_untyped_calls = True
# disallow_untyped_defs = True
-## https://github.com/python/mypy/issues/5954
-# disallow_incomplete_defs = True
+disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
# no_implicit_optional = True
@@ -66,68 +65,51 @@ disallow_subclassing_any = False
[mypy-qutebrowser.browser.browsertab]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.browser.hints]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.misc.objects]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.misc.debugcachestats]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.misc.utilcmds]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.misc.throttle]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.misc.backendproblem]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.config.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.api.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.components.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.extensions.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.browser.webelem]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.browser.webkit.webkitelem]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.browser.webengine.webengineelem]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.keyinput.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.utils.*]
disallow_untyped_defs = True
-disallow_incomplete_defs = True
[mypy-qutebrowser.mainwindow.statusbar.command]
disallow_untyped_defs = True
-disallow_incomplete_defs = True