Skip to content
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

Add many missing __match_args__ attributes #7556

Merged
merged 4 commits into from
Mar 26, 2022

Conversation

AlexWaygood
Copy link
Member

Although stubtest doesn't (yet) complain if __match_args__ is missing from the stub, it does complain if __match_args__ is present but incorrect in the stub, so the CI should be fairly reliable here :)

@AlexWaygood
Copy link
Member Author

I guess I'll be right back with a flake8-pyi patch, then...

@github-actions

This comment has been minimized.

stdlib/_ast.pyi Outdated Show resolved Hide resolved
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AlexWaygood
Copy link
Member Author

flake8-pyi PR here: PyCQA/flake8-pyi#192

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood merged commit 61b22db into python:master Mar 26, 2022
@AlexWaygood AlexWaygood deleted the match-args branch March 26, 2022 19:36
@AlexWaygood
Copy link
Member Author

Many thanks for the reviews and flake8-pyi bugfix @JelleZijlstra!

AlexWaygood added a commit to AlexWaygood/mypy that referenced this pull request Mar 26, 2022
python#12415 (included in release 0.942) unblocked typeshed from adding missing `__match_args__` attributes (see python/typeshed#7556). This means stubtest is now unblocked from checking the correctness of `__match_args__` attributes in the stub!
JelleZijlstra pushed a commit to python/mypy that referenced this pull request Mar 27, 2022
#12415 (included in release 0.942) unblocked typeshed from adding missing `__match_args__` attributes (see python/typeshed#7556). This means stubtest is now unblocked from checking the correctness of `__match_args__` attributes in the stub!
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.

None yet

2 participants