[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a9ce43f242
commit
0224d68cc0
|
@ -186,9 +186,7 @@ def _execute_step_function(
|
||||||
"""Parse and convert step arguments."""
|
"""Parse and convert step arguments."""
|
||||||
parsed_args = context.parser.parse_arguments(step.name)
|
parsed_args = context.parser.parse_arguments(step.name)
|
||||||
if parsed_args is None:
|
if parsed_args is None:
|
||||||
raise ValueError(
|
raise ValueError(f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}")
|
||||||
f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}"
|
|
||||||
)
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
for arg, value in parsed_args.items():
|
for arg, value in parsed_args.items():
|
||||||
param = func_sig.parameters.get(arg)
|
param = func_sig.parameters.get(arg)
|
||||||
|
|
Loading…
Reference in New Issue