mirror of https://github.com/eyhc1/rendercv.git
ignore type warnings
This commit is contained in:
parent
fde1401588
commit
1c531e6f76
|
@ -19,14 +19,14 @@ class LoggingFormatter(logging.Formatter):
|
||||||
bold_red = "\x1b[31;1m" # critical level
|
bold_red = "\x1b[31;1m" # critical level
|
||||||
|
|
||||||
reset = "\x1b[0m"
|
reset = "\x1b[0m"
|
||||||
format = "%(levelname)s | %(message)s"
|
format = "%(levelname)s | %(message)s" # type: ignore
|
||||||
|
|
||||||
FORMATS = {
|
FORMATS = {
|
||||||
logging.DEBUG: grey + format + reset,
|
logging.DEBUG: grey + format + reset, # type: ignore
|
||||||
logging.INFO: white + format + reset,
|
logging.INFO: white + format + reset, # type: ignore
|
||||||
logging.WARNING: yellow + format + reset,
|
logging.WARNING: yellow + format + reset, # type: ignore
|
||||||
logging.ERROR: red + format + reset,
|
logging.ERROR: red + format + reset, # type: ignore
|
||||||
logging.CRITICAL: bold_red + format + reset,
|
logging.CRITICAL: bold_red + format + reset, # type: ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
def format(self, record):
|
def format(self, record):
|
||||||
|
|
Loading…
Reference in New Issue