From 430b9d698ea37fff64786dc5de8361e39fcba847 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Tue, 24 Aug 2021 18:22:22 -0400 Subject: [PATCH] chore: fix log.py from failing lint-3.6 check (#1191) --- synthtool/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synthtool/log.py b/synthtool/log.py index 3732dbc03..2b6596ce3 100644 --- a/synthtool/log.py +++ b/synthtool/log.py @@ -18,7 +18,7 @@ try: from colorlog import ColoredFormatter except ImportError: - ColoredFormatter = None + ColoredFormatter SUCCESS = 25 @@ -68,7 +68,7 @@ def configure_logger(name: str, color: bool = bool(ColoredFormatter)): }, ) else: - formatter = logging.Formatter( + formatter = logging.Formatter( # type: ignore "%(asctime)s %(name)s [%(levelname)s] > %(message)s" )