Skip to content

Commit

Permalink
chore: fix log.py from failing lint-3.6 check (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neenu1995 authored Aug 24, 2021
1 parent 8032ab5 commit 430b9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthtool/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
try:
from colorlog import ColoredFormatter
except ImportError:
ColoredFormatter = None
ColoredFormatter

SUCCESS = 25

Expand Down Expand Up @@ -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"
)

Expand Down

0 comments on commit 430b9d6

Please sign in to comment.