Skip to content

Commit 6aa25aa

Browse files
committed
Lint and auto format
1 parent db574a1 commit 6aa25aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

git_py_stats/list_cmds.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def branches_by_date(config: Dict[str, Union[str, int]]) -> None:
9292

9393
# Grab the config options from our config.py.
9494
ignore_authors = config.get("ignore_authors", lambda _s: False)
95-
95+
9696
# Original command:
9797
# git for-each-ref --sort=committerdate refs/heads/ \
9898
# --format='[%(authordate:relative)] %(authorname) %(refname:short)' | cat -n
@@ -104,7 +104,7 @@ def branches_by_date(config: Dict[str, Union[str, int]]) -> None:
104104
# part the same as before.
105105
visible_fmt = "[%(authordate:relative)] %(authorname) %(refname:short)"
106106
format_str = f"{visible_fmt}|%(authoremail)"
107-
107+
108108
cmd = [
109109
"git",
110110
"for-each-ref",
@@ -144,6 +144,7 @@ def branches_by_date(config: Dict[str, Union[str, int]]) -> None:
144144
for idx, line in enumerate(visible_lines, 1):
145145
print(f"\t{idx} {line}")
146146

147+
147148
def contributors(config: Dict[str, Union[str, int]]) -> None:
148149
"""
149150
Lists all contributors alphabetically.

0 commit comments

Comments
 (0)