Add mypy.ini
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user