1
0
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:
Sid
2024-05-08 23:54:49 +02:00
committed by GitHub
parent 589104f63d
commit ac54cdcdb4
51 changed files with 88 additions and 95 deletions

View File

@@ -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)