mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
feat: Include language test files in blame script
This commit is contained in:
parent
c8c58280d8
commit
9ad20849d3
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@ def blame(start_tag, end_tag=None):
|
||||||
or (f.startswith(".github/workflows/") and f.endswith(".yml"))
|
or (f.startswith(".github/workflows/") and f.endswith(".yml"))
|
||||||
or f in website_files
|
or f in website_files
|
||||||
]
|
]
|
||||||
# include all tests/fixtures/languages/*/test.* ai!
|
# Include all language test files
|
||||||
|
files.extend(
|
||||||
|
f for f in files
|
||||||
|
if f.startswith("tests/fixtures/languages/") and "/test." in f
|
||||||
|
)
|
||||||
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]
|
files = [f for f in files if f not in exclude_files]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue