fix: resolve CI lint and type errors
Some checks failed
CI/CD / lint-and-test (push) Has been cancelled
Some checks failed
CI/CD / lint-and-test (push) Has been cancelled
This commit is contained in:
@@ -128,7 +128,7 @@ class GitRepo:
|
|||||||
message = message_result.stdout.strip()
|
message = message_result.stdout.strip()
|
||||||
author_parts = author_result.stdout.strip().split("|")
|
author_parts = author_result.stdout.strip().split("|")
|
||||||
author = author_parts[0] if author_parts else "Unknown"
|
author = author_parts[0] if author_parts else "Unknown"
|
||||||
date = author_parts[2] if len(author_parts) > 2 else ""
|
date = author_parts[2] if len(author_parts) > 2 else "" # noqa: PLR2004
|
||||||
|
|
||||||
changes = self._get_commit_changes(sha)
|
changes = self._get_commit_changes(sha)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user