-
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
Added type hints to internals/utils #5932
Added type hints to internals/utils #5932
Conversation
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.
Thanks for the PR!
src/pip/_internal/utils/glibc.py
Outdated
|
||
def glibc_version_string(): | ||
# type: () -> str |
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 should be type: () -> Optional[str]
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.
Ha, missed it - you are right. In process of rebasing, will include.
Found a potential bug i.e. missing return statement in check_path_owner. If while loop falls through without returning, return a defensive False Added a trivial file as per the contributor guidelines Make linter happy - ignore "unused" import
d9f9786
to
55f6787
Compare
Thanks @petr-tik! :) |
@petr-tik Let us know you would like contribute more to pip and want any pointers. :) |
Thanks again for the guidance |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Found a potential bug i.e. missing return statement in check_path_owner. If
while loop falls through without returning,
return a defensive False
related to #4748