diff --git a/mypy.ini b/mypy.ini new file mode 100644 index 0000000..70b1dde --- /dev/null +++ b/mypy.ini @@ -0,0 +1,13 @@ +[mypy] +python_version = 3.10 +strict = true +warn_unused_configs = true +check_untyped_defs = true +disallow_any_generics = true +warn_redundant_casts = true +warn_unused_ignores = true + +[[mypy.selectel_ml_tui.ui.*]] +# Textual widget internals use dynamic attributes; relax strictness there. +check_untyped_defs = false +disallow_any_generics = false