Skip to content

Commit

Permalink
fix: Initialize the config file with indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Oct 24, 2023
1 parent 31a14d9 commit fd5bc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/validate_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fd5bc7f

Please sign in to comment.