Skip to content

Commit

Permalink
Fix lint warning
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
  • Loading branch information
eapolinario committed Sep 23, 2024
1 parent 34466a3 commit d693320
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flytekit/clis/sdk_in_container/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,10 @@ def to_click_option(
required = False if default_val and isinstance(default_val, ArtifactQuery) else required

if literal_converter.is_bool():
click_cli_parameter_names = [f"--{input_name}/--no_{input_name}", f"--{input_name}/--no-{input_name.replace('_', '-')}"]
click_cli_parameter_names = [
f"--{input_name}/--no_{input_name}",
f"--{input_name}/--no-{input_name.replace('_', '-')}",
]
else:
click_cli_parameter_names = [f"--{input_name}"]

Expand Down

0 comments on commit d693320

Please sign in to comment.