From b104b0ed7b1632d4289e273bcddf8e3f7711d50f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 21 Aug 2024 12:12:12 -0700 Subject: [PATCH] fix: Exclude 'prompts.py' file from blame analysis --- scripts/blame.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/blame.py b/scripts/blame.py index 2efa71f82..2700b7eec 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -26,6 +26,7 @@ def blame(start_tag, end_tag=None): if f.endswith((".py", ".scm", ".sh", "Dockerfile", "Gemfile")) or (f.startswith(".github/workflows/") and f.endswith(".yml")) ] + files = [f for f in files if not f.endswith("prompts.py")] all_file_counts = {} grand_total = defaultdict(int)