mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Enable map configurations (config v2).
This commit is contained in:
parent
ef8347cf2d
commit
3e76cdaf25
11 changed files with 70 additions and 52 deletions
|
|
@ -109,7 +109,7 @@ def autoupdate(runner, tags_only):
|
|||
|
||||
input_configs = load_config(runner.config_file_path)
|
||||
|
||||
for repo_config in input_configs:
|
||||
for repo_config in input_configs['repos']:
|
||||
if is_local_repo(repo_config):
|
||||
output_configs.append(repo_config)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue