templates/python: fix type annotations
This commit is contained in:
@@ -5,6 +5,6 @@ import pytest
|
||||
|
||||
# returns a temporary directory with a fake git repo
|
||||
@pytest.fixture()
|
||||
def git_repo_path(tmp_path):
|
||||
def git_repo_path(tmp_path: str) -> str:
|
||||
subprocess.run(["mkdir", ".git"], cwd=tmp_path)
|
||||
return tmp_path
|
||||
|
||||
Reference in New Issue
Block a user