From 8988eb9cdd353d1d4752e65f7cb41d08695131d2 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 13 Aug 2024 12:37:00 -0700 Subject: [PATCH] style: format code using linter --- scripts/blame.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/blame.py b/scripts/blame.py index e80d6b47b..7e8c2bc95 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -19,8 +19,12 @@ def blame(start_tag, end_tag=None): revision = end_tag if end_tag else "HEAD" files = run(["git", "ls-tree", "-r", "--name-only", revision]).strip().split("\n") - files = [f for f in files if f.endswith(('.py', '.scm', '.sh', 'Dockerfile', 'Gemfile')) or - (f.startswith('.github/workflows/') and f.endswith('.yml'))] + files = [ + f + for f in files + if f.endswith((".py", ".scm", ".sh", "Dockerfile", "Gemfile")) + or (f.startswith(".github/workflows/") and f.endswith(".yml")) + ] all_file_counts = {} grand_total = defaultdict(int)