search you tried in the issue tracker
autoupdate silent
describe your actual problem
pre-commit autoupdate --repos matches against the passed-in repos here:
|
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
search you tried in the issue tracker
autoupdate silent
describe your actual problem
pre-commit autoupdate --reposmatches against the passed-in repos here:pre-commit/pre_commit/commands/autoupdate.py
Line 190 in edad968
If no repos match, then no futures are created, so the command exits silently.
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