mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Config loading uses ordered_load by default
This commit is contained in:
parent
bfa23f1f4f
commit
95c3afacda
1 changed files with 1 additions and 4 deletions
|
|
@ -107,10 +107,7 @@ def autoupdate(runner, tags_only):
|
||||||
output_configs = []
|
output_configs = []
|
||||||
changed = False
|
changed = False
|
||||||
|
|
||||||
input_configs = load_config(
|
input_configs = load_config(runner.config_file_path)
|
||||||
runner.config_file_path,
|
|
||||||
load_strategy=ordered_load,
|
|
||||||
)
|
|
||||||
|
|
||||||
for repo_config in input_configs:
|
for repo_config in input_configs:
|
||||||
if is_local_repo(repo_config):
|
if is_local_repo(repo_config):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue