Closed mustafa0x closed 3 weeks ago
You can exclude known libraries from tracebacks.
I hope we solved your problem.
If you like using Rich, you might also enjoy Textual
I want to exclude (or more accurately, de-emphaszie) everything in the venv.
Like vscode has a justMyCode configuration option.
In exceptions, can rich automatically highlight paths of my code, to be able to distinguish from code in the virtualenv or external packages. For example, in the following exception, the middle path should be highlighted.
Benefits
edit: claude suggested using excepthook. not sure if the solution makes sense.