FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

autoupdate: speedup & show progress by casperdcl · Pull Request #3736 · pre-commit/pre-commit · GitHub

autoupdate: speedup & show progress - #3736

Closed
casperdcl wants to merge 2 commits into
pre-commit:mainfrom
casperdcl:autoupdate-progress
Closed

autoupdate: speedup & show progress#3736
casperdcl wants to merge 2 commits into
pre-commit:mainfrom
casperdcl:autoupdate-progress

Conversation

Copy link
Copy Markdown

Before

~/pre-commit (main)$ time python -m pre_commit autoupdate
[https://github.com/pre-commit/pre-commit-hooks] already up to date!
[https://github.com/asottile/setup-cfg-fmt] already up to date!
[https://github.com/asottile/reorder-python-imports] already up to date!
[https://github.com/asottile/add-trailing-comma] already up to date!
[https://github.com/asottile/pyupgrade] already up to date!
[https://github.com/hhatto/autopep8] already up to date!
[https://github.com/PyCQA/flake8] already up to date!
[https://github.com/pre-commit/mirrors-mypy] already up to date!

real    0m22.039s
user    0m1.075s
sys     0m0.692s

After

~/pre-commit (autoupdate-progress)$ python -m pre_commit autoupdate
[https://github.com/pre-commit/mirrors-mypy] already up to date!                                                                                                   
[https://github.com/hhatto/autopep8] already up to date!                                                                                                           
[https://github.com/asottile/add-trailing-comma] already up to date!                                                                                               
[https://github.com/asottile/reorder-python-imports] already up to date!                                                                                           
[https://github.com/PyCQA/flake8] already up to date!                                                                                                              
[https://github.com/asottile/setup-cfg-fmt] already up to date!                                                                                                    
[https://github.com/pre-commit/pre-commit-hooks] already up to date!                                                                                               
[https://github.com/asottile/pyupgrade] already up to date!

real    0m4.492s
user    0m1.212s
sys     0m0.758s

transient (cleared upon completion) progressbar:

100%|████████████████████████████████████████████| 8/8 [00:04<00:00,  1.86it/s]

asottile commented Aug 4, 2026

Copy link
Copy Markdown
Member

no thanks. and definitely not with a new dependency

asottile closed this Aug 4, 2026

Copy link
Copy Markdown
Author

could we at least change to default jobs=None?

asottile commented Aug 4, 2026

Copy link
Copy Markdown
Member

cpu count for network bound (and likely rate limited) operations is a really really bad idea

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL