mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 00:10:22 +00:00
[ruff] Enable RET and fix all violations
This commit is contained in:
@@ -115,7 +115,7 @@ async def build_registry_list(registry, config):
|
||||
|
||||
async def past_safe_mode():
|
||||
if CONF_SAFE_MODE not in CORE.config:
|
||||
return
|
||||
return None
|
||||
|
||||
def _safe_mode_generator():
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user