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
stubtest: add error summary, other output nits #12855
Conversation
- error summary - fix issue where module is saved as stub - handle loading modules that output or raise - output messages instead of tracebacks - add some more tests Also: - move plural_s from messages to util - use plural_s in summary functions
b6e7a41
to
4af6a67
Compare
This comment has been minimized.
This comment has been minimized.
c54a86b
to
8a87d68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I fixed some bugs this introduced related to allowlists and simplified some functionality I don't think is needed. The change to only look at pyi files is good, but should be its own PR (I copied the changes over to #12889). In general, it's good practice to separate behaviour changes like that from cosmetic changes.
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
suppres "Nothing to do?!"
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. |
BaseException
Also:
Test Plan
I added some tests
resolves #12547