summaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-29 21:03:28 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-29 21:03:28 +0100
commit5ba5fbfe2a74f963d2ca0f1fd261975d19812d59 (patch)
treee563ac8f473a8601863c95d7b936df2139a34f70 /.mypy.ini
parent9a5fe232cd2c59128141261435c4b3ff7fd9be43 (diff)
downloadqutebrowser-5ba5fbfe2a74f963d2ca0f1fd261975d19812d59.tar.gz
qutebrowser-5ba5fbfe2a74f963d2ca0f1fd261975d19812d59.zip
mypy: Minor changes to config
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini8
1 files changed, 5 insertions, 3 deletions
diff --git a/.mypy.ini b/.mypy.ini
index 00b470d7b..e3db38ccc 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -1,7 +1,7 @@
[mypy]
python_version = 3.6
-# --strict
+### --strict
warn_unused_configs = True
# disallow_any_generics = True
disallow_subclassing_any = True
@@ -17,11 +17,13 @@ warn_unused_ignores = True
# no_implicit_reexport = True
strict_equality = True
-# Other strictness flags
+### Other strictness flags
warn_unreachable = True
+disallow_any_unimported = True
-# Output
+### Output
show_error_codes = True
+show_error_context = True
pretty = True
[mypy-colorama]