Skip to content

Commit a6d8dab

Browse files
committed
FIx lint errors
1 parent c4ee62a commit a6d8dab

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

scripts/compare_merge.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -588,19 +588,15 @@ def format_enhanced_diff(
588588

589589
# Items only in old (removed)
590590
if only_old:
591-
lines.append(
592-
f" {C.RED}Removed ({len(only_old)} item(s)):{C.RESET}"
593-
)
591+
lines.append(f" {C.RED}Removed ({len(only_old)} item(s)):{C.RESET}")
594592
for item in only_old:
595593
for fl in _format_yaml_item(item):
596594
lines.append(f" {C.RED}{fl}{C.RESET}")
597595
lines.append("")
598596

599597
# Items only in new (added)
600598
if only_new:
601-
lines.append(
602-
f" {C.GREEN}Added ({len(only_new)} item(s)):{C.RESET}"
603-
)
599+
lines.append(f" {C.GREEN}Added ({len(only_new)} item(s)):{C.RESET}")
604600
for item in only_new:
605601
for fl in _format_yaml_item(item):
606602
lines.append(f" {C.GREEN}{fl}{C.RESET}")

0 commit comments

Comments
 (0)