mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14: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_entry_copy, indent=4, sort_keys=True
|
||||
).splitlines()
|
||||
aider_json_lines = json.dumps(
|
||||
aider_entry_copy, indent=4, sort_keys=True
|
||||
).splitlines()
|
||||
aider_json_lines = json.dumps(aider_entry_copy, indent=4, sort_keys=True).splitlines()
|
||||
|
||||
# Remove the dummy key line before diffing
|
||||
litellm_json_filtered = [
|
||||
line for line in litellm_json_lines if dummy_key not in line
|
||||
]
|
||||
litellm_json_filtered = [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]
|
||||
|
||||
diff = difflib.unified_diff(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue