mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-03 22:34:29 +01:00
fix-linter (#246)
This commit is contained in:
@@ -272,7 +272,7 @@ def calculate_dynamic_paths() -> tuple[Path, str, str, str, str, str]:
|
||||
)
|
||||
|
||||
|
||||
def get_git_commit_sha(directory) -> Optional[str]:
|
||||
def get_git_commit_sha(directory: str) -> Optional[str]:
|
||||
try:
|
||||
repo = git.Repo(directory)
|
||||
remote_url = repo.remotes.origin.url
|
||||
|
||||
Reference in New Issue
Block a user