Skip to content

Warn if yaml has duplicate keys #462

Description

@Matistjati

Jotting this down: I encountered an example in the wild with something along the lines of <problem>/data/testdata.yaml having

input_validator_flags: n=100
input_validator_flags: n=1000

Pyyaml silently resolves this by taking the last one. Checking "every key in every yaml file is unique" seems like a nice sanity check

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions