Skip to content

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
MemberAuthor

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

@github-actions

This comment has been minimized.

Co-authored-by: Jelle Zijlstra <[email protected]>
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@AlexWaygood
Copy link
MemberAuthor

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. 🤖🎉

@AlexWaygoodAlexWaygood merged commit 61b22db into python:masterMar 26, 2022
@AlexWaygoodAlexWaygood deleted the match-args branch March 26, 2022 19:36
@AlexWaygood
Copy link
MemberAuthor

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 freeto 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

@AlexWaygood@JelleZijlstra