Skip to content

feat: Add pretty_exceptions_suppress option to extend suppressed frames in pretty exceptions #770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tlambert03
Copy link

@tlambert03 tlambert03 commented Mar 27, 2024

This pull request extends the pretty_exceptions feature by adding pretty_exceptions_suppress, which lets the user pass an iterable of modules or string paths to suppress in addition to Typer and click

Copy link
Contributor

📝 Docs preview for commit dcba2e2 at: https://10e30f2d.typertiangolo.pages.dev

@svlandeg svlandeg added feature New feature, enhancement or request p3 labels Mar 28, 2024
@Mark90
Copy link

Mark90 commented Aug 22, 2025

I'm not a maintainer, but the change looks pretty straight-forward to me.
Would be great if this option could be added.
Maybe this can be rebased and reviewed, or does it need to be linked to a feature issue first?

Copy link
Contributor

@tlambert03
Copy link
Author

fixed conflicts. Would be great to get a review from any maintainer. @tiangolo, @svlandeg? This has sat here for quite a while now. Do you have any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature, enhancement or request p3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants