mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Enable Ruff RUF010 (#115371)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -909,7 +909,7 @@ class _ScriptRun:
|
||||
count = len(items)
|
||||
for iteration, item in enumerate(items, 1):
|
||||
set_repeat_var(iteration, count, item)
|
||||
extra_msg = f" of {count} with item: {repr(item)}"
|
||||
extra_msg = f" of {count} with item: {item!r}"
|
||||
if self._stop.done():
|
||||
break
|
||||
await async_run_sequence(iteration, extra_msg)
|
||||
|
||||
Reference in New Issue
Block a user