Skip to content

Commit 550f8d8

Browse files
author
Kevin Kirsche
committed
fix: incorrect quoting
1 parent 47479a9 commit 550f8d8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ansible_generator/directories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def create_directory_layout(
7272
return True
7373

7474

75-
def create_directory(logger: Logger, dir_path: StrPath) -> bool:
75+
def create_directory(logger: Logger, dir_path: "StrPath") -> bool:
7676
"""Recursively creates a directory path if does not exist.
7777
7878
Args:

ansible_generator/files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_alternate_inventories_file_paths(
131131

132132
def touch(
133133
logger: Logger,
134-
filename: Union[StrOrBytesPath, int],
134+
filename: Union["StrOrBytesPath", int],
135135
times: Union[Tuple[int, int], None] = None,
136136
) -> bool:
137137
"""Touch the file at the location provided.
@@ -158,7 +158,7 @@ def touch(
158158

159159

160160
def create_role(
161-
rolename: str, directory: Union[StrOrBytesPath, None], logger: Logger
161+
rolename: str, directory: Union["StrOrBytesPath", None], logger: Logger
162162
) -> bool:
163163
"""Create a role using ansible-galaxy.
164164

ansible_generator/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
logger = setup_logger(name=__name__)
1111

1212

13-
def join_cwd_and_directory_path(dir_path: StrPath) -> Path:
13+
def join_cwd_and_directory_path(dir_path: "StrPath") -> Path:
1414
"""Join the current working directory with the provided path.
1515
1616
Args:

0 commit comments

Comments
 (0)