mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
[core] Enable ruff B (flake8-bugbear) lint family (#16655)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user