Ran black for linting

This commit is contained in:
zandercymatics 2023-10-30 08:07:27 -06:00
parent b236be7f43
commit a33efbe772
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 285 additions and 229 deletions

View file

@ -61,14 +61,13 @@ class TerminalHelper:
# DEBUG:
if print_condition:
logger.info(print_statement)
def prompt_for_execution(system_exit_on_terminate: bool,
info_to_inspect: str,
prompt_title: str) -> bool:
def prompt_for_execution(
system_exit_on_terminate: bool, info_to_inspect: str, prompt_title: str
) -> bool:
"""Create to reduce code complexity.
Prompts the user to inspect the given string
and asks if they wish to execute it.
and asks if they wish to execute it.
Returns true if the user responds (y),
Returns false if the user responds (n)"""
@ -97,5 +96,5 @@ class TerminalHelper:
if system_exit_on_terminate:
sys.exit()
return False
return True
return True