Skip to content

Commit

Permalink
fix: incorrect quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Kirsche committed Jul 28, 2022
1 parent 47479a9 commit 550f8d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible_generator/directories.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def create_directory_layout(
return True


def create_directory(logger: Logger, dir_path: StrPath) -> bool:
def create_directory(logger: Logger, dir_path: "StrPath") -> bool:
"""Recursively creates a directory path if does not exist.
Args:
Expand Down
4 changes: 2 additions & 2 deletions ansible_generator/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_alternate_inventories_file_paths(

def touch(
logger: Logger,
filename: Union[StrOrBytesPath, int],
filename: Union["StrOrBytesPath", int],
times: Union[Tuple[int, int], None] = None,
) -> bool:
"""Touch the file at the location provided.
Expand All @@ -158,7 +158,7 @@ def touch(


def create_role(
rolename: str, directory: Union[StrOrBytesPath, None], logger: Logger
rolename: str, directory: Union["StrOrBytesPath", None], logger: Logger
) -> bool:
"""Create a role using ansible-galaxy.
Expand Down
2 changes: 1 addition & 1 deletion ansible_generator/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
logger = setup_logger(name=__name__)


def join_cwd_and_directory_path(dir_path: StrPath) -> Path:
def join_cwd_and_directory_path(dir_path: "StrPath") -> Path:
"""Join the current working directory with the provided path.
Args:
Expand Down

0 comments on commit 550f8d8

Please sign in to comment.