mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
autoupdate: separate store from runner
This commit is contained in:
parent
8f2c3cfea7
commit
0e430be0ce
3 changed files with 42 additions and 54 deletions
|
|
@ -248,7 +248,7 @@ def main(argv=None):
|
|||
if args.tags_only:
|
||||
logger.warning('--tags-only is the default')
|
||||
return autoupdate(
|
||||
runner,
|
||||
runner, runner.store,
|
||||
tags_only=not args.bleeding_edge,
|
||||
repos=args.repos,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue