diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:32:38 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-10 19:32:38 +0200 |
commit | 3679d3a05b273cbac206c52632ae0c369e7cccf2 (patch) | |
tree | 5c1a3367429479b2cc9a5c95336f11657e725b3a /mypy.ini | |
parent | e25a96de948f96365e87c6f53bba0753abd17711 (diff) | |
download | qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.tar.gz qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.zip |
mypy: Disallow incomplete defs globally
Diffstat (limited to 'mypy.ini')
-rw-r--r-- | mypy.ini | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -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 |