summaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-11-14 21:21:01 +0100
committerFlorian Bruhin <me@the-compiler.org>2022-11-14 21:21:01 +0100
commitb8ddaef967700fb581e6150b72ec990edb9abafa (patch)
tree6e78075a12faeec4e6b8148347458edfa3ebbc72 /.mypy.ini
parent7bf1b4af5d8882a8576787dbf98c7013061a2714 (diff)
downloadqutebrowser-b8ddaef967700fb581e6150b72ec990edb9abafa.tar.gz
qutebrowser-b8ddaef967700fb581e6150b72ec990edb9abafa.zip
Adjust ignores/settings after mypy upgrade
See #7478, #7098
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/.mypy.ini b/.mypy.ini
index 820b2f966..56124b5c3 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -10,7 +10,6 @@ disallow_subclassing_any = True
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
@@ -27,6 +26,9 @@ show_error_codes = True
show_error_context = True
pretty = True
+### FIXME:qt6 get rid of this for v3
+no_implicit_optional = False
+
[mypy-colorama]
# https://github.com/tartley/colorama/issues/206
ignore_missing_imports = True