style: Apply linting to clean_metadata.py

This commit is contained in:
Paul Gauthier (aider) 2025-04-20 11:03:44 -07:00
parent b4673fdc85
commit 6656b5d973

View file

@ -101,7 +101,9 @@ def main():
f.write("\n") f.write("\n")
print(f"Successfully removed '{key}' and updated {aider_path}.") print(f"Successfully removed '{key}' and updated {aider_path}.")
except Exception as e: except Exception as e:
print(f"Error writing updated data to {aider_path} after removing {key}: {e}") print(
f"Error writing updated data to {aider_path} after removing {key}: {e}"
)
# Exit or handle error appropriately? For now, just print. # Exit or handle error appropriately? For now, just print.
else: else:
print(f"'{key}' not found in aider data (already removed?).") print(f"'{key}' not found in aider data (already removed?).")