feat: Include language test files in blame script

This commit is contained in:
Paul Gauthier (aider) 2025-02-07 10:56:46 -08:00
parent c8c58280d8
commit 9ad20849d3

View file

@ -39,7 +39,11 @@ def blame(start_tag, end_tag=None):
or (f.startswith(".github/workflows/") and f.endswith(".yml"))
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.startswith("tests/fixtures/watch")]
files = [f for f in files if f not in exclude_files]