mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
clean: separate store from runner
This commit is contained in:
parent
0e430be0ce
commit
6d683a5fac
4 changed files with 12 additions and 21 deletions
|
|
@ -243,7 +243,7 @@ def main(argv=None):
|
|||
elif args.command == 'uninstall':
|
||||
return uninstall(runner, hook_type=args.hook_type)
|
||||
elif args.command == 'clean':
|
||||
return clean(runner)
|
||||
return clean(runner.store)
|
||||
elif args.command == 'autoupdate':
|
||||
if args.tags_only:
|
||||
logger.warning('--tags-only is the default')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue