mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Format clean_metadata.py with black linter
This commit is contained in:
parent
d8caa76bc8
commit
2f38cd184c
1 changed files with 5 additions and 3 deletions
|
@ -177,8 +177,8 @@ def main():
|
||||||
if litellm_entry == aider_entry:
|
if litellm_entry == aider_entry:
|
||||||
print(f"'{key}': Entries are semantically identical.")
|
print(f"'{key}': Entries are semantically identical.")
|
||||||
print("\n" + "=" * 40)
|
print("\n" + "=" * 40)
|
||||||
print("-" * 40 + "\n") # Separator for the next model
|
print("-" * 40 + "\n") # Separator for the next model
|
||||||
continue # Skip diff and removal prompt for identical entries
|
continue # Skip diff and removal prompt for identical entries
|
||||||
|
|
||||||
# Generate unified diff
|
# Generate unified diff
|
||||||
# If dictionaries differ, generate JSON strings to show the diff
|
# If dictionaries differ, generate JSON strings to show the diff
|
||||||
|
@ -198,7 +198,9 @@ def main():
|
||||||
if not diff_lines:
|
if not diff_lines:
|
||||||
# This case should ideally not be reached if dict comparison was done first,
|
# This case should ideally not be reached if dict comparison was done first,
|
||||||
# but kept as a fallback.
|
# but kept as a fallback.
|
||||||
print("(No textual differences found, though dictionaries might differ in type/order)")
|
print(
|
||||||
|
"(No textual differences found, though dictionaries might differ in type/order)"
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
for line in diff_lines:
|
for line in diff_lines:
|
||||||
# Add color for better readability (optional, requires a library
|
# Add color for better readability (optional, requires a library
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue