aboutsummaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-08-30 15:58:23 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:58 +0200
commit5deb33b03c221634829e5ac57d6a6bd77453759c (patch)
treebc85380c1383ddc8e242bc38940f4145a403941e /.mypy.ini
parentca1878ffb5ba5f72dcb44ca567d48a3a0a048f1f (diff)
downloadmeson-5deb33b03c221634829e5ac57d6a6bd77453759c.zip
meson-5deb33b03c221634829e5ac57d6a6bd77453759c.tar.gz
meson-5deb33b03c221634829e5ac57d6a6bd77453759c.tar.bz2
typing: update run_mypy and mypy.ini
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini26
1 files changed, 22 insertions, 4 deletions
diff --git a/.mypy.ini b/.mypy.ini
index b8dad03..3da85ed 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -1,5 +1,23 @@
[mypy]
-strict_optional = False
-show_error_context = False
-show_column_numbers = True
-ignore_missing_imports = True
+strict_optional = False
+show_error_context = False
+show_column_numbers = True
+ignore_missing_imports = True
+
+follow_imports = skip
+warn_redundant_casts = True
+warn_unused_ignores = True
+warn_return_any = True
+# warn_unreachable = True
+disallow_untyped_calls = True
+disallow_untyped_defs = True
+disallow_incomplete_defs = True
+disallow_untyped_decorators = True
+no_implicit_optional = True
+strict_equality = True
+check_untyped_defs = True
+# disallow_any_expr = True
+# disallow_any_decorated = True
+# disallow_any_explicit = True
+# disallow_any_generics = True
+# disallow_subclassing_any = True