Make `rich` traceback and REPL handling more configurable
See original GitHub issueIs it worth to add a section to pyproject.toml
to configure settings for rich
, e.g. [tool.kedro.rich]
? Would this allow users to for example change show_locals
to be set to True
? (See https://github.com/kedro-org/kedro/issues/1712 for why we set it to False
)
Issue Analytics
- State:
- Created a year ago
- Comments:31 (21 by maintainers)
Top Results From Across the Web
Better Python tracebacks with Rich - Will McGugan
It's configurable, but I find that 7 lines of code are enough to ... To try out rich tracebacks, install the exception handler...
Read more >Traceback — Rich 12.6.0 documentation
Rich tracebacks are easier to read and show more code than standard Python tracebacks. To see an example of a Rich traceback, running...
Read more >Improve the setup of logging Milestone · GitHub
A Python framework for creating reproducible, maintainable and modular data science code. - Improve the setup of logging Milestone · kedro-org/kedro.
Read more >rich: Documentation | Openbase
Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more — out of the box. Features.
Read more >TIL #043 – rich traceback and exception logging - Mathspp
How to make your tracebacks more beautiful ... In order to use it, you only need to install the traceback handler that comes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m really excited for this, it would make things a lot more configurable 😃
We also have had reports that the logging mode on databricks is unpleasant, so maybe we should have a fallback to no rich logging too.
I’ve expressed this before, but I personally like the approach libraries like Typer take in enabling
rich
tracebacks if it’s installed, and not using them if not installed, since there’s no need to push the use of rich tracebacks upon everyone.