Skip to content

Commit

Permalink
indent the global_config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasu Jaganath committed Aug 20, 2024
1 parent d708ef4 commit a624b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sophios/input_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def write_config_to_disk(config: Json, config_file: Path) -> None:
# make the full path if it doesn't exist
config_dir.mkdir(parents=True, exist_ok=True)
with open(config_file, 'w', encoding='utf-8') as f:
json.dump(config, f)
json.dump(config, f, indent=4, sort_keys=True)


def get_config(config_file: Path, default_config_file: Path) -> Json:
Expand Down

0 comments on commit a624b97

Please sign in to comment.