fix: fix f-strings

This commit is contained in:
Really Him 2025-05-12 23:35:19 -04:00
commit 0ffd7013db

View file

@ -132,10 +132,10 @@ def git_init(repo_path: str) -> str:
def git_show(repo: git.Repo, revision: str) -> str: def git_show(repo: git.Repo, revision: str) -> str:
commit = repo.commit(revision) commit = repo.commit(revision)
output = [ output = [
f"Commit: {commit.hexsha}\n" f"Commit: {commit.hexsha!r}\n"
f"Author: {commit.author}\n" f"Author: {commit.author!r}\n"
f"Date: {commit.authored_datetime}\n" f"Date: {commit.authored_datetime!r}\n"
f"Message: {commit.message}\n" f"Message: {commit.message!r}\n"
] ]
if commit.parents: if commit.parents:
parent = commit.parents[0] parent = commit.parents[0]