Skip to content

Commit 0e6d5d9

Browse files
authored
Fix Python3.8 typing incompatibility (#13)
1 parent b39210d commit 0e6d5d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fprime_bootstrap/clone_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
GitCloneError,
1919
)
2020

21-
from typing import TYPE_CHECKING
21+
from typing import TYPE_CHECKING, Tuple
2222

2323
if TYPE_CHECKING:
2424
import argparse
@@ -57,7 +57,7 @@ def clone_project(parsed_args: "argparse.Namespace"):
5757

5858
def clone_git_repo(
5959
target_dir: Path, remote_url: str, new_name: str = None
60-
) -> tuple[Path, Path]:
60+
) -> Tuple[Path, Path]:
6161
"""Clone an F´ project using git. Uses new_name if provided for local project name
6262
Returns the path to the project and the path to the F´ submodule within the project
6363
"""

0 commit comments

Comments
 (0)