summaryrefslogtreecommitdiff
path: root/mypy.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-10 19:16:49 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-10 19:16:49 +0200
commitb737874c52776be26b8aebe648e904e856673592 (patch)
treeedc433132e908b06ee27e7d150b486574ca7ed99 /mypy.ini
parent341aa4ea751bc7e15a421e0ffe91d1d06812ae97 (diff)
downloadqutebrowser-b737874c52776be26b8aebe648e904e856673592.tar.gz
qutebrowser-b737874c52776be26b8aebe648e904e856673592.zip
mypy: Reorganize --strict flags
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini15
1 files changed, 8 insertions, 7 deletions
diff --git a/mypy.ini b/mypy.ini
index 5d404f4b2..33b6556db 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -4,23 +4,24 @@
python_version = 3.6
# --strict
-warn_redundant_casts = True
-warn_unused_ignores = True
+warn_unused_configs = True
+# disallow_any_generics = True
disallow_subclassing_any = True
-disallow_untyped_decorators = True
-## https://github.com/python/mypy/issues/5957
-# warn_unused_configs = True
# disallow_untyped_calls = True
# disallow_untyped_defs = True
## https://github.com/python/mypy/issues/5954
# disallow_incomplete_defs = True
check_untyped_defs = True
+disallow_untyped_decorators = True
# no_implicit_optional = True
+warn_redundant_casts = True
+warn_unused_ignores = True
# warn_return_any = True
-warn_unreachable = True
+# no_implicit_reexport = True
+strict_equality = True
# Other strictness flags
-strict_equality = True
+warn_unreachable = True
# Output
show_error_codes = True