mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 12:35:25 +00:00
[core] Enable ruff BLE (flake8-blind-except) lint family (#16659)
This commit is contained in:
@@ -21,7 +21,7 @@ async def connect_disconnect(client_id: int, iteration: int) -> tuple[int, bool,
|
||||
await asyncio.wait_for(cli.connect(login=True), timeout=10)
|
||||
await cli.disconnect()
|
||||
return iteration, True, ""
|
||||
except Exception as e:
|
||||
except Exception as e: # noqa: BLE001
|
||||
return (
|
||||
iteration,
|
||||
False,
|
||||
|
||||
Reference in New Issue
Block a user