fix: fix mypy warning about representation of bytes
This commit is contained in:
parent
1e7d4bc254
commit
c53b53030d
1 changed files with 3 additions and 3 deletions
|
|
@ -102,10 +102,10 @@ def git_log(repo: git.Repo, max_count: int = 10) -> list[str]:
|
|||
log = []
|
||||
for commit in commits:
|
||||
log.append(
|
||||
f"Commit: {commit.hexsha}\n"
|
||||
f"Author: {commit.author}\n"
|
||||
f"Commit: {commit.hexsha!r}\n"
|
||||
f"Author: {commit.author!r}\n"
|
||||
f"Date: {commit.authored_datetime}\n"
|
||||
f"Message: {commit.message}\n"
|
||||
f"Message: {commit.message!r}\n"
|
||||
)
|
||||
return log
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue