From ffcda558e71bc1441f428a9edde9078ba12b00b4 Mon Sep 17 00:00:00 2001 From: clearml <> Date: Sun, 29 Sep 2024 14:04:41 +0300 Subject: [PATCH] Black formatting --- clearml/utilities/wizard/user_input.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/clearml/utilities/wizard/user_input.py b/clearml/utilities/wizard/user_input.py index b83e5e21..a445b085 100644 --- a/clearml/utilities/wizard/user_input.py +++ b/clearml/utilities/wizard/user_input.py @@ -43,11 +43,7 @@ def input_int( ) return value except ValueError: - print( - "Invalid input: {} should be a number. Please enter an integer".format( - key - ) - ) + print("Invalid input: {} should be a number. Please enter an integer".format(key)) def input_bool(question, default=False): @@ -86,13 +82,13 @@ def input_list( res_list = [res] while input_bool("\nDefine another {}? [y/N]".format(key)): response = get_input( - key=key, - description=description, - question=question, - required=False, - default=default, - new_line=new_line, - ) + key=key, + description=description, + question=question, + required=False, + default=default, + new_line=new_line, + ) if response: res_list.append(response) return res_list