Skip to content

allow the use of --show-traceback and --pdb with stubtest #18037

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

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Oct 24, 2024

Mypy's error handling suggests using --show-traceback and --pdb for more information, and this can occur while running stubtest. This MR adds support for both flags to stubtest so that the suggestions can be followed without needing to figure out the equivalent mypy invocation first.

Both are advertized by internal error handling that can
occur while running stubtest. This makes it possible to follow
the directions given.
Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hauntsaninja hauntsaninja merged commit 776d01d into python:master Oct 25, 2024
13 checks passed
@tungol tungol deleted the stubtest_traceback branch October 25, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants