Skip to content

Commit

Permalink
format: use black to format changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanpage-credo committed Jul 26, 2020
1 parent 06206eb commit 7ac6678
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion rich/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,10 @@ def __init__(

self._lock = threading.RLock()
self._log_render = LogRender(
show_time=log_time, show_level=log_level, show_path=log_path, time_format=log_time_format
show_time=log_time,
show_level=log_level,
show_path=log_path,
time_format=log_time_format,
)
self.highlighter: HighlighterType = highlighter or _null_highlighter
self.safe_box = safe_box
Expand Down
4 changes: 3 additions & 1 deletion rich/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def __init__(
super().__init__(level=level)
self.console = console or get_console()
self.highlighter = highlighter or self.HIGHLIGHTER_CLASS()
self._log_render = LogRender(show_time=show_time, show_level=show_level, show_path=show_path)
self._log_render = LogRender(
show_time=show_time, show_level=show_level, show_path=show_path
)
self.enable_link_path = enable_link_path
self.markup = markup

Expand Down

0 comments on commit 7ac6678

Please sign in to comment.