summaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/.mypy.ini b/.mypy.ini
index a3917513153..6c6bf55f4c3 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -9,6 +9,9 @@ follow_imports = silent
# This will limit effectiveness but avoids mypy complaining about running code.
ignore_missing_imports = True
+# Make None compatible with every type (the default prior to v 0.600)
+strict_optional = False
+
[mypy-idl.*]
# Error if any code is missing type annotations.
disallow_untyped_defs = True