Skip to content
Snippets Groups Projects
Commit 488b5dc8 authored by derthorsten's avatar derthorsten Committed by James Curtin
Browse files

added missing functions

parent 0308e67f
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,15 @@ logging.basicConfig()
LOGGER = logging.getLogger(__name__)
MODULE_REGEX = r"^[_a-zA-Z][_a-zA-Z0-9]+$"
class bcolors:
WARNING = "\033[93m"
ENDC = "\033[0m"
BOLD = "\033[1m"
def colorize(escape_code, text):
code = getattr(bcolors, escape_code)
return f"{code}{text}{bcolors.ENDC}"
def log_module_name_warning(module_name, logger):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment