fix: Exclude 'prompts.py' file from blame analysis

This commit is contained in:
Paul Gauthier 2024-08-21 12:12:12 -07:00 committed by Paul Gauthier (aider)
parent 758b6cc908
commit b104b0ed7b

View file

@ -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)