Skip to content

Commit d316fdc

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6ac2aca commit d316fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openml/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def handle_flows(args: argparse.Namespace) -> None:
330330
action = getattr(args, "flows_action", None)
331331
if action is None:
332332
# Print help when no subcommand is given
333-
args._parser_flows.print_help() # noqa: SLF001
333+
args._parser_flows.print_help()
334334
else:
335335
actions[action](args)
336336

@@ -451,7 +451,7 @@ def main() -> None:
451451

452452
args = parser.parse_args()
453453
# Attach parser_flows so handle_flows can print help when no action is given
454-
args._parser_flows = parser_flows # noqa: SLF001
454+
args._parser_flows = parser_flows
455455
subroutines.get(args.subroutine, lambda _: parser.print_help())(args)
456456

457457

0 commit comments

Comments
 (0)