Skip to content

Commit

Permalink
Merge pull request #60 from ggmarshall/main
Browse files Browse the repository at this point in the history
yaml turn off sort
  • Loading branch information
gipert committed Jun 20, 2024
2 parents 226e6a0 + 55aeaba commit fcd7427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legendmeta/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def write_dict(fname: str, obj: dict, ftype: str | None = None) -> dict:
json.dump(obj, f, indent=indent, separators=separators)
f.write("\n")
elif ftype == "yaml":
yaml.dump(obj, f)
yaml.dump(obj, f, sort_keys=False)

else:
msg = f"unsupported file format {ftype}"
Expand Down

0 comments on commit fcd7427

Please sign in to comment.