mypy.ini 486 Bytes
Newer Older
Andrey's avatar
Andrey committed
1
[mypy]
Andrey's avatar
Andrey committed
2
check_untyped_defs = true
3
disallow_untyped_calls = true
Andrey's avatar
Andrey committed
4 5
follow_imports = silent
ignore_missing_imports = true
6
no_implicit_optional = true
7
warn_incomplete_stub = true
Andrey's avatar
Andrey committed
8
warn_redundant_casts = true
Andrey's avatar
Andrey committed
9
warn_return_any = true
Andrey's avatar
Andrey committed
10 11 12
warn_unused_configs = true
warn_unused_ignores = true

13 14 15 16 17 18
[mypy-homeassistant.*]
disallow_untyped_defs = true

[mypy-homeassistant.config_entries]
disallow_untyped_defs = false

Andrey's avatar
Andrey committed
19 20
[mypy-homeassistant.util.yaml]
warn_return_any = false
21
disallow_untyped_calls = false
Andrey's avatar
Andrey committed
22