Linter things

Removed old test_domain_migration.py file, and linted many items.
This commit is contained in:
zandercymatics 2023-10-25 09:06:36 -06:00
parent 9468876197
commit 53c74a766f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
7 changed files with 190 additions and 692 deletions

View file

@ -2,6 +2,7 @@ import logging
logger = logging.getLogger(__name__)
class TerminalColors:
"""Colors for terminal outputs
(makes reading the logs WAY easier)"""
@ -18,8 +19,8 @@ class TerminalColors:
UNDERLINE = "\033[4m"
BackgroundLightYellow = "\033[103m"
class TerminalHelper:
class TerminalHelper:
def query_yes_no(question: str, default="yes") -> bool:
"""Ask a yes/no question via raw_input() and return their answer.
@ -57,4 +58,4 @@ class TerminalHelper:
terminal if print_condition is TRUE"""
# DEBUG:
if print_condition:
logger.info(print_statement)
logger.info(print_statement)