mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable Ruff RET504 (#114528)
* Enable Ruff RET504 * fix test * Use noqa instead of cast * fix sonos RET504 --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -817,8 +817,7 @@ class _ScriptRun:
|
||||
|
||||
return True
|
||||
|
||||
result = traced_test_conditions(self._hass, self._variables)
|
||||
return result
|
||||
return traced_test_conditions(self._hass, self._variables)
|
||||
|
||||
@async_trace_path("repeat")
|
||||
async def _async_repeat_step(self): # noqa: C901
|
||||
|
||||
Reference in New Issue
Block a user