From 9ad20849d3cfe1b6895988525870f7aed948b3fe Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Fri, 7 Feb 2025 10:56:46 -0800 Subject: [PATCH] feat: Include language test files in blame script --- scripts/blame.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/blame.py b/scripts/blame.py index fa0b727c9..39cafb716 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -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]