mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: Apply linting to clean_metadata.py
This commit is contained in:
parent
de28178369
commit
13b3e75d0e
1 changed files with 2 additions and 6 deletions
|
@ -192,14 +192,10 @@ def main():
|
||||||
litellm_json_lines = json.dumps(
|
litellm_json_lines = json.dumps(
|
||||||
litellm_entry_copy, indent=4, sort_keys=True
|
litellm_entry_copy, indent=4, sort_keys=True
|
||||||
).splitlines()
|
).splitlines()
|
||||||
aider_json_lines = json.dumps(
|
aider_json_lines = json.dumps(aider_entry_copy, indent=4, sort_keys=True).splitlines()
|
||||||
aider_entry_copy, indent=4, sort_keys=True
|
|
||||||
).splitlines()
|
|
||||||
|
|
||||||
# Remove the dummy key line before diffing
|
# Remove the dummy key line before diffing
|
||||||
litellm_json_filtered = [
|
litellm_json_filtered = [line for line in litellm_json_lines if dummy_key not in line]
|
||||||
line for line in litellm_json_lines if dummy_key not in line
|
|
||||||
]
|
|
||||||
aider_json_filtered = [line for line in aider_json_lines if dummy_key not in line]
|
aider_json_filtered = [line for line in aider_json_lines if dummy_key not in line]
|
||||||
|
|
||||||
diff = difflib.unified_diff(
|
diff = difflib.unified_diff(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue