about summary refs log tree commit diff
path: root/packages/git-blame-stats
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-07-22 17:46:36 -0700
committerFranck Cuny <franck@fcuny.net>2024-07-22 17:46:36 -0700
commitd4b6d2b2053e335e5457e34c128ec8a1a156671d (patch)
tree95dc405071eed3c61142754249b9de9326f4285d /packages/git-blame-stats
parentdelete github actions (diff)
downloadworld-d4b6d2b2053e335e5457e34c128ec8a1a156671d.tar.gz
add lint as a target and reformat
Diffstat (limited to 'packages/git-blame-stats')
-rwxr-xr-xpackages/git-blame-stats/git-blame-stats.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/packages/git-blame-stats/git-blame-stats.py b/packages/git-blame-stats/git-blame-stats.py
index 3cc4f4a..5f2a43f 100755
--- a/packages/git-blame-stats/git-blame-stats.py
+++ b/packages/git-blame-stats/git-blame-stats.py
@@ -4,11 +4,8 @@ import argparse
 import subprocess
 from typing import Any
 
-
 parser = argparse.ArgumentParser()
-parser.add_argument(
-    "rev", metavar="revision", type=str, help="the revision", default="HEAD", nargs="?"
-)
+parser.add_argument("rev", metavar="revision", type=str, help="the revision", default="HEAD", nargs="?")
 args = parser.parse_args()
 
 authors: dict[str, Any] = dict()
@@ -90,6 +87,4 @@ for author, stats in authors.items():
     lines = stats["lines"]
     commits = len(stats["commits"])
     files = len(stats["files"])
-    print(
-        f"{author:{max_lenght_author}} {email:{max_lenght_email}} {lines:6} {commits:6} {files:6}"
-    )
+    print(f"{author:{max_lenght_author}} {email:{max_lenght_email}} {lines:6} {commits:6} {files:6}")