-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: Private parameters can be omitted #16507
Conversation
for more information, see https://pre-commit.ci
As opposed to what I suggested in the issue, I implemented it so the parameter name can start with at least one underscore. It doesn't require exactly one. I wouldn't be surprised if some people start their private parameter names with a double underscore. |
Hmm, until we dropped support for Python 3.7,
I think I preferred what was suggested in the issue: other packages might do similarly, and might not have updated their parameter names even if they've since dropped support for Python 3.7. |
That's a good point. I'll update the PR. |
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.
LGTM
Can I bump this PR? It seems there are no further objections. |
Fixes #16443