summaryrefslogtreecommitdiff
path: root/misc/scripts/mypy.ini
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/mypy.ini')
-rw-r--r--misc/scripts/mypy.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/scripts/mypy.ini b/misc/scripts/mypy.ini
new file mode 100644
index 0000000000..c1ea695ca5
--- /dev/null
+++ b/misc/scripts/mypy.ini
@@ -0,0 +1,11 @@
+[mypy]
+ignore_missing_imports = true
+disallow_any_generics = True
+pretty = True
+show_column_numbers = True
+warn_redundant_casts = True
+warn_return_any = True
+warn_unreachable = True
+
+namespace_packages = True
+explicit_package_bases = True