[core] Enable ruff B (flake8-bugbear) lint family (#16655)

This commit is contained in:
J. Nick Koston
2026-05-26 02:28:14 +00:00
committed by GitHub
parent 489cf483d0
commit ae814cff5c
27 changed files with 54 additions and 50 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ async def async_resolve_hosts(
),
return_exceptions=True,
)
for host, result in zip(pending, results):
for host, result in zip(pending, results, strict=True):
if isinstance(result, BaseException):
_LOGGER.debug("Failed to resolve %s: %s", host, result)