Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't sort lists and dicts, as order of items matters #1969

Closed
wants to merge 1 commit into from

Conversation

monkz
Copy link

@monkz monkz commented Oct 5, 2023

What does this PR do?

What issues does this PR fix or reference?

Previous Behavior

If sort_keys is not set to False, pyyaml reorders the data structure alphabetically. While this might me asthetically pleasing, it interferes (at least) with order of entries for gitfs.

New Behavior

Keeps data in original order

If sort_keys is not set to False, pyyaml reorders the data structure alphabetically. While this might me asthetically pleasing, it interferes (at least) with order of entries for gitfs.
@dmurphy18
Copy link
Contributor

@monkz Closing this PR in favor of PR #2006 which contains your fix. Doing this for speed, as have a number of fixes to release, since the major cleanup in release 2024-07-12 and want to get this simple fix in.

@dmurphy18 dmurphy18 closed this Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants