Skip to content

Commit

Permalink
Fix indention
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 5, 2023
1 parent 2c94733 commit 9f41d5d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions click_extra/tests/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,12 @@ def envvars_test_cases():
for envvar_name in envvar_names:
for envar_value, expected_flag in value_map.items():
envvar = {envvar_name: envar_value}
test_id = (
f"{decorator_name}|{case_name}={envvar}"
f"|expected_flag={expected_flag}"
)
params.append(
pytest.param(
cmd_decorator,
envvar,
expected_flag,
id=f"{decorator_name}|{case_name}={
envvar}|expected_flag={expected_flag}",
),
pytest.param(cmd_decorator, envvar, expected_flag, id=test_id)
)

return params
Expand Down Expand Up @@ -497,8 +495,10 @@ def show_params_cli(int_param1, int_param2, hidden_param, custom_param):
"✘",
"✘",
"SHOW_PARAMS_CLI_CONFIG",
f"{Path(get_app_dir('show-params-cli')).resolve()
}{sep}*.{{toml,yaml,yml,json,ini,xml}}",
(
f"{Path(get_app_dir('show-params-cli')).resolve()}{sep}"
"*.{toml,yaml,yml,json,ini,xml}"
),
str(conf_path),
"COMMANDLINE",
),
Expand Down

0 comments on commit 9f41d5d

Please sign in to comment.