Skip to content

Ensure that we check the YAML syntax of license data files in tests. #3947

Description

@lambdakilo

it is difficult for humans to predict how a given yaml document will parse [1]. For instance https://github.com/aboutcode-org/scancode-licensedb/blob/main/docs/lgpl-2.0-fltk.yml is an invalid yaml document although it doesn't seem like it. I discovered this while parsing the yamls of the repository with pyyaml.

Should we deprecate and remove all of the yaml version from this repo?

1: https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell

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