From 52362bc6817c9e1b6349f5937f671074f72b1be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Caud?= <82875602+frcaud@users.noreply.github.com> Date: Fri, 1 Apr 2022 10:34:19 +0200 Subject: [PATCH] FIX replace remaining autocompletion from click -> shell_complete (#307) --- rampwf/utils/cli/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rampwf/utils/cli/testing.py b/rampwf/utils/cli/testing.py index 60c39310..4a4ce667 100644 --- a/rampwf/utils/cli/testing.py +++ b/rampwf/utils/cli/testing.py @@ -36,7 +36,7 @@ def get_submissions(ctx, args, incomplete): help='The kit to test. It should be located in the ' '"submissions" folder of the starting kit. If "ALL", all ' 'submissions in the directory will be tested.', - autocompletion=get_submissions) + shell_complete=get_submissions) @click.option('--ramp-kit-dir', default='.', show_default=True, help='Root directory of the ramp-kit to test.') @click.option('--ramp-data-dir', default='.', show_default=True,