refactor: Modify file filtering logic in blame script

This commit is contained in:
Paul Gauthier 2025-02-07 10:56:44 -08:00 committed by Paul Gauthier (aider)
parent d40505cd16
commit c8c58280d8

View file

@ -39,6 +39,7 @@ 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!
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]