templates/python: fix type annotations

This commit is contained in:
DavHau
2023-07-21 13:48:37 +02:00
parent e806b5549d
commit ca044a078c
3 changed files with 7 additions and 5 deletions

View File

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