Skip to content

Commit

Permalink
Add pretty install (kedro-org#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonymilne committed Jul 4, 2022
1 parent 3fc6a8e commit b5bd64d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kedro/framework/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import yaml
from dynaconf import LazySettings
from dynaconf.validator import ValidationError, Validator
from rich.pretty import install as rich_pretty_install
from rich.traceback import install as rich_traceback_install

from kedro.pipeline import Pipeline
Expand Down Expand Up @@ -202,6 +203,7 @@ def __init__(self):
rich_traceback_install(
show_locals=True, suppress=[click, str(Path(sys.executable).parent)]
)
rich_pretty_install()

def configure(self, logging_config: Dict[str, Any]) -> None:
"""Configure project logging using `logging_config` (e.g. from project
Expand Down

0 comments on commit b5bd64d

Please sign in to comment.