Skip to content

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

Open
@akirataguchi115

Description

@akirataguchi115

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

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