Skip to content

Commit

Permalink
Fix Python3.8 typing incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc committed Oct 17, 2024
1 parent 33b892e commit fd4329e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fprime_bootstrap/clone_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
GitCloneError,
)

from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Tuple

if TYPE_CHECKING:
import argparse
Expand Down Expand Up @@ -57,7 +57,7 @@ def clone_project(parsed_args: "argparse.Namespace"):

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

0 comments on commit fd4329e

Please sign in to comment.