fix-linter (#246)

This commit is contained in:
merwanehamadi
2023-08-02 14:49:03 -07:00
committed by GitHub
parent 8fa67ea466
commit 59f015ab93

View File

@@ -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