From 59f015ab9362b0901810bc68fa567e58d9892054 Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Wed, 2 Aug 2023 14:49:03 -0700 Subject: [PATCH] fix-linter (#246) --- agbenchmark/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agbenchmark/utils/utils.py b/agbenchmark/utils/utils.py index 5c65ae63..7726629b 100644 --- a/agbenchmark/utils/utils.py +++ b/agbenchmark/utils/utils.py @@ -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