mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
style: format code using linter
This commit is contained in:
parent
1b39b18772
commit
8988eb9cdd
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,12 @@ def blame(start_tag, end_tag=None):
|
|||
|
||||
revision = end_tag if end_tag else "HEAD"
|
||||
files = run(["git", "ls-tree", "-r", "--name-only", revision]).strip().split("\n")
|
||||
files = [f for f in files if f.endswith(('.py', '.scm', '.sh', 'Dockerfile', 'Gemfile')) or
|
||||
(f.startswith('.github/workflows/') and f.endswith('.yml'))]
|
||||
files = [
|
||||
f
|
||||
for f in files
|
||||
if f.endswith((".py", ".scm", ".sh", "Dockerfile", "Gemfile"))
|
||||
or (f.startswith(".github/workflows/") and f.endswith(".yml"))
|
||||
]
|
||||
|
||||
all_file_counts = {}
|
||||
grand_total = defaultdict(int)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue