Skip to content

Preserve comments when editing #49

Description

@adamchainz

Editing files currently doesn't preserve comments, or the file order of keys, which is a bit annoying. It looks like we could change it do so by using ruamel.yaml instead of PyYAML as the YAML library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions