-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Merge typeshed return annotations #4744
base: main
Are you sure you want to change the base?
Conversation
fb5487b
to
aa0ad57
Compare
# We shouldn't find any non-pyc files in __pycache__ | ||
assert m is not None |
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.
Not strictly an annotation change, but I included it here because it didn't feel worth doing a PR just for this
Would've been included in #4753 if I realised sooner this was an easy fix
setuptools/command/bdist_wheel.py
Outdated
def run(self) -> None: | ||
def run(self): |
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.
I opted out of annotating this specific run
in this PR for the same reason I didn't do initialize_options
.
(note that I'm commenting on a specific commit, this PR doesn't remove any return annotation)
Summary of changes
Based on #4736,
so merge that one first.Donesetuptools/msvc.py dir methods and properties split off to #4755 for easier review
Step 6.2 of #2345 (comment)
This PR still doesn't do
initialize_options
as those have their own set of issues (and knowing they returnNone
isn't that helpful to begin with), as well as complex Command-based overloads.This will produce many type issues that need to be resolved. I'll do that in other PRs and keep this as draft in the mean time.
Pull Request Checklist
newsfragments/
. (not public facing yet)(See documentation for details)