1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Bump ruff from 0.12.2 to 0.12.3 (#9446)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
dependabot[bot]
2025-07-12 04:01:54 +00:00
committed by GitHub
parent ca5ee0ce07
commit 0138ef36cf
8 changed files with 15 additions and 24 deletions

View File

@@ -47,9 +47,8 @@ def dict_diff(a, b, path=""):
elif len(b) > len(a):
for i in range(min_len, len(b)):
diffs.append(f"{path}[{i}] only in expected: {b[i]!r}")
else:
if a != b:
diffs.append(f"\t{path}: actual={a!r} expected={b!r}")
elif a != b:
diffs.append(f"\t{path}: actual={a!r} expected={b!r}")
return diffs