Add strict typing for Telegram bot integration (#147262)

add strict typing
This commit is contained in:
hanwg
2025-06-24 04:22:00 +08:00
committed by GitHub
parent 8b6205be25
commit dc948e3b6c
5 changed files with 128 additions and 60 deletions

10
mypy.ini generated
View File

@@ -4788,6 +4788,16 @@ disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.telegram_bot.*]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.text.*]
check_untyped_defs = true
disallow_incomplete_defs = true