[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-11-19 18:03:47 +00:00
parent a9ce43f242
commit 0224d68cc0
1 changed files with 1 additions and 3 deletions

View File

@ -186,9 +186,7 @@ def _execute_step_function(
"""Parse and convert step arguments."""
parsed_args = context.parser.parse_arguments(step.name)
if parsed_args is None:
raise ValueError(
f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}"
)
raise ValueError(f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}")
kwargs = {}
for arg, value in parsed_args.items():
param = func_sig.parameters.get(arg)