-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Concurrent pypi lookups with --update-all #102
Conversation
@mythmon r? |
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 seems to work better than I expected. I was expecting the hybrid sync/async to be really messy, but it worked out ok in practice.
hashin.py
Outdated
@@ -690,6 +721,12 @@ def get_parser(): | |||
action="store_true", | |||
default=False, | |||
) | |||
parser.add_argument( | |||
"--synchronous", | |||
help=("Do not download from pypi in parallel."), |
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.
Extra parens?
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'm too lazy to find or file the bug for Black :)
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.
For the record, I think the string used to be much longer and when I edited the string, Black didn't remove the bracket now when it all fit on one line.
@@ -1,3 +1,3 @@ | |||
flake8==3.5.0 | |||
flake8==3.6.0 |
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.
Do you want this update in this patch?
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.
Yes and no. This project is more than a protype/side-project but I can take solace in that the change is unimportant in context of things.
Thanks for checking though!
Fixes #101