From fd5bc7fd9e671270ae4499679c4585ec90db8096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 24 Oct 2023 12:33:49 +0200 Subject: [PATCH] fix: Initialize the config file with indent --- tools/validate_config_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/validate_config_files.py b/tools/validate_config_files.py index 5224e27..a643820 100755 --- a/tools/validate_config_files.py +++ b/tools/validate_config_files.py @@ -22,7 +22,7 @@ def validate_generic_config_file(): if not user_config.exists(): # The config file was never created, copy the sample. with user_config.open('w') as _fw: - json.dump(generic_config_sample, _fw) + json.dump(generic_config_sample, _fw, indent=2, sort_keys=True) with user_config.open() as f: generic_config = json.load(f)