-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Type annotations for help, list and uninstall in commands #8016
Type annotations for help, list and uninstall in commands #8016
Conversation
bba104a
to
d28d117
Compare
d28d117
to
7901ba6
Compare
Hi @McSinyx , @pradyunsg , @sbidoul This is my next attempt on adding mypy annotations on some other files in |
7901ba6
to
f138839
Compare
f138839
to
fe134b6
Compare
fe134b6
to
c0a1285
Compare
For some reason, linting is failing with https://github.com/pypa/pip/pull/8016/checks?check_run_id=584694795#step:8:29 and https://travis-ci.org/github/pypa/pip/jobs/674711045#L314 as Linting works perfectly fine on my development Mac with Python3.8 with OSX 10.15.4 (19E266)
Edit: The linting checks are still failing, even after I merged master into the PR branch, and the Linting push checks in my fork just after I merged master https://github.com/deveshks/pip/runs/585435303 are also failing. Edit II: So finally I am able to get all checks passing by pulling in master, and adding a type annotation to an inner function which was added in a later commit before this PR was created, at the same line where I was getting the For some reason, when github was running it's CI checks, it was taking the parts of What are your thoughts on this @pradyunsg @uranusjr @pfmoore ? |
adf3c9f
to
0470a82
Compare
5314e57
to
52f30a1
Compare
I have applied to suggested changes to the PR. If they look good, could I please get this PR approved? |
Changes looking good to me personally, however the maintainers are rushing for (patches for) 20.1 release I think. |
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.
This LGTM now, thank you!
Thanks for the approval @sbidoul 😊 |
Towards #4748
Added type annotations to
pip._internal.commands.help
,pip._internal.commands.list
andpip._internal.commands.uninstall