Skip to content

Preserve comments when editing #49

@adamchainz

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.

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