Skip to content

Commit

Permalink
typo: docsting
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Nov 28, 2023
1 parent 4340422 commit 9a15bfa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions qgis_deployment_toolbelt/jobs/job_shortcuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,17 @@ def get_icon_path(self, profile: QdtProfile, icon_filename: str) -> Path:

return profile_icon_installed

def get_arguments_ready(self, profile: str, in_arguments: str = None) -> tuple[str]:
def get_arguments_ready(
self, profile: str, in_arguments: str | None = None
) -> list[str]:
"""Prepare arguments for the executable shortcut.
:param list in_arguments: argument as defined in the scenario file
Args:
profile (str): profile's name
in_arguments (str, optional): argument as defined in the scenario file. Defaults to None.
:return Tuple[str]: tuple of strings separated by spaces
Returns:
list[str]: tuple of strings separated by spaces
"""
# add profile name
arguments: list = ["--profile", f'"{profile}"']
Expand Down

0 comments on commit 9a15bfa

Please sign in to comment.