Black formatting

This commit is contained in:
clearml 2024-09-29 14:04:41 +03:00
parent 7e12c47137
commit ffcda558e7

View File

@ -43,11 +43,7 @@ def input_int(
) )
return value return value
except ValueError: except ValueError:
print( print("Invalid input: {} should be a number. Please enter an integer".format(key))
"Invalid input: {} should be a number. Please enter an integer".format(
key
)
)
def input_bool(question, default=False): def input_bool(question, default=False):
@ -86,13 +82,13 @@ def input_list(
res_list = [res] res_list = [res]
while input_bool("\nDefine another {}? [y/N]".format(key)): while input_bool("\nDefine another {}? [y/N]".format(key)):
response = get_input( response = get_input(
key=key, key=key,
description=description, description=description,
question=question, question=question,
required=False, required=False,
default=default, default=default,
new_line=new_line, new_line=new_line,
) )
if response: if response:
res_list.append(response) res_list.append(response)
return res_list return res_list