mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: format update-history.py with black
This commit is contained in:
parent
7dc4e00c75
commit
7e6cbb3efa
1 changed files with 12 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import tempfile
|
||||
import re
|
||||
|
||||
from aider import __version__
|
||||
|
||||
|
||||
|
@ -17,7 +18,16 @@ def get_base_version():
|
|||
|
||||
def run_git_log():
|
||||
base_ver = get_base_version()
|
||||
cmd = ["git", "log", "-p", f"v{base_ver}..HEAD", "--", "aider/", ":!aider/website/", ":!HISTORY.md"]
|
||||
cmd = [
|
||||
"git",
|
||||
"log",
|
||||
"-p",
|
||||
f"v{base_ver}..HEAD",
|
||||
"--",
|
||||
"aider/",
|
||||
":!aider/website/",
|
||||
":!HISTORY.md",
|
||||
]
|
||||
result = subprocess.run(cmd, capture_output=True, text=True)
|
||||
return result.stdout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue