mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
feat: Add exclude_files list and filter in blame script
This commit is contained in:
parent
4942366271
commit
70312c58be
1 changed files with 5 additions and 4 deletions
|
@ -18,10 +18,10 @@ website_files = [
|
||||||
"aider/website/docs/leaderboards/index.md",
|
"aider/website/docs/leaderboards/index.md",
|
||||||
]
|
]
|
||||||
|
|
||||||
# AI add an exclude_files list with:
|
exclude_files = [
|
||||||
aider/website/install.ps1
|
"aider/website/install.ps1",
|
||||||
aider/website/install.sh
|
"aider/website/install.sh",
|
||||||
# ..AI!
|
]
|
||||||
|
|
||||||
def blame(start_tag, end_tag=None):
|
def blame(start_tag, end_tag=None):
|
||||||
commits = get_all_commit_hashes_between_tags(start_tag, end_tag)
|
commits = get_all_commit_hashes_between_tags(start_tag, end_tag)
|
||||||
|
@ -40,6 +40,7 @@ def blame(start_tag, end_tag=None):
|
||||||
]
|
]
|
||||||
files = [f for f in files if not f.endswith("prompts.py")]
|
files = [f for f in files if not f.endswith("prompts.py")]
|
||||||
files = [f for f in files if not f.startswith("tests/fixtures/watch")]
|
files = [f for f in files if not f.startswith("tests/fixtures/watch")]
|
||||||
|
files = [f for f in files if f not in exclude_files]
|
||||||
|
|
||||||
all_file_counts = {}
|
all_file_counts = {}
|
||||||
grand_total = defaultdict(int)
|
grand_total = defaultdict(int)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue