Update mypy to 1.7.0 (#103800)
This commit is contained in:
parent
66d1a7f1dd
commit
a70ec64408
17 changed files with 27 additions and 53 deletions
|
@ -341,7 +341,7 @@ async def async_initialize_triggers(
|
|||
elif isinstance(result, BaseException):
|
||||
raise result from None
|
||||
elif result is None:
|
||||
log_cb(
|
||||
log_cb( # type: ignore[unreachable]
|
||||
logging.ERROR, "Unknown error while setting up trigger (empty result)"
|
||||
)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue