more clarity for `pre-commit autoupdate --repos` · Issue #3695 · pre-commit/pre-commit
Repository navigation
more clarity for pre-commit autoupdate --repos #3695
New issue
New issue
Closed
Closed
more clarity for
pre-commit autoupdate --repos #3695
Description
@mxr's profile mxr opened on May 18, 2026search you tried in the issue tracker
autoupdate silent
describe your actual problem
pre-commit autoupdate --repos matches against the passed-in repos here:
pre-commit/pre_commit/commands/autoupdate.py
Line 190 in edad968
| if not repos or repo [ 'repo' ] in repos |
If no repos match, then no futures are created, so the command exits silently.
$ pre-commit autoupdate --repo https://github.com/pre-commit/pre-comimt-hooks # exits with 0 and prints nothing
Wondering if it would be clearer to log which passed-in repos don't match any repos in the pre-commit config to make this easier to debug.
pre-commit --version
pre-commit 4.6.0
Reacted by Vinicius Queiroz