Update mypy to 1.7.0 (#103800)

This commit is contained in:
Marc Mueller 2023-11-11 23:31:04 +01:00 committed by GitHub
parent 66d1a7f1dd
commit a70ec64408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 27 additions and 53 deletions

View file

@ -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: