aboutsummaryrefslogtreecommitdiff
path: root/.mypy.ini
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-04-25 14:47:37 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-07-19 18:31:37 -0400
commit7afc69254d6b7240406cb1112ab57355bd9d32cd (patch)
tree6246648038a69ba8e3ce48841eeb37bcad00e7d9 /.mypy.ini
parentcfc3960956f98aff74b118ce3de89a40ef3496c1 (diff)
downloadmeson-7afc69254d6b7240406cb1112ab57355bd9d32cd.zip
meson-7afc69254d6b7240406cb1112ab57355bd9d32cd.tar.gz
meson-7afc69254d6b7240406cb1112ab57355bd9d32cd.tar.bz2
fix implicit_reexport issues and enforce them going forward
This detects cases where module A imports a function from B, and C imports that same function from A instead of B. It's not part of the API contract of A, and causes innocent refactoring to break things.
Diffstat (limited to '.mypy.ini')
-rw-r--r--.mypy.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/.mypy.ini b/.mypy.ini
index 2ee1e59..70fdcd9 100644
--- a/.mypy.ini
+++ b/.mypy.ini
@@ -3,6 +3,7 @@ strict_optional = False
show_error_context = False
show_column_numbers = True
ignore_missing_imports = True
+implicit_reexport = False
follow_imports = silent
warn_redundant_casts = True