From 95c3afacdae3e4439b603d54167267e7f237fd90 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 5 Sep 2017 14:07:27 -0700 Subject: [PATCH] Config loading uses ordered_load by default --- pre_commit/commands/autoupdate.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pre_commit/commands/autoupdate.py b/pre_commit/commands/autoupdate.py index 36df87f8..1c79500d 100644 --- a/pre_commit/commands/autoupdate.py +++ b/pre_commit/commands/autoupdate.py @@ -107,10 +107,7 @@ def autoupdate(runner, tags_only): output_configs = [] changed = False - input_configs = load_config( - runner.config_file_path, - load_strategy=ordered_load, - ) + input_configs = load_config(runner.config_file_path) for repo_config in input_configs: if is_local_repo(repo_config):