style: Standardize string quotes in update-history.py

This commit is contained in:
Paul Gauthier (aider) 2025-03-18 18:18:39 -07:00
parent 0cee8bc6ac
commit 7fec2661fc

View file

@ -13,9 +13,9 @@ from aider import __version__
def get_latest_version_from_history():
with open("HISTORY.md", "r") as f:
history_content = f.read()
# Find most recent version header
match = re.search(r'### Aider v(\d+\.\d+\.\d+)', history_content)
match = re.search(r"### Aider v(\d+\.\d+\.\d+)", history_content)
if not match:
raise ValueError("Could not find version header in HISTORY.md")
return match.group(1)