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
|
||||
|
||||
reset = "\x1b[0m"
|
||||
format = "%(levelname)s | %(message)s"
|
||||
format = "%(levelname)s | %(message)s" # type: ignore
|
||||
|
||||
FORMATS = {
|
||||
logging.DEBUG: grey + format + reset,
|
||||
logging.INFO: white + format + reset,
|
||||
logging.WARNING: yellow + format + reset,
|
||||
logging.ERROR: red + format + reset,
|
||||
logging.CRITICAL: bold_red + format + reset,
|
||||
logging.DEBUG: grey + format + reset, # type: ignore
|
||||
logging.INFO: white + format + reset, # type: ignore
|
||||
logging.WARNING: yellow + format + reset, # type: ignore
|
||||
logging.ERROR: red + format + reset, # type: ignore
|
||||
logging.CRITICAL: bold_red + format + reset, # type: ignore
|
||||
}
|
||||
|
||||
def format(self, record):
|
||||
|
|
Loading…
Reference in New Issue