Skip to content

Use yamllint #93

@iay

Description

@iay

It's quite hard to keep consistent conventions across YAML files without a tool to help. I suggest we start using yamllint. This is configurable so the vast majority of things it currently flags (missing header line, long text lines) can be configured away to start with by adding a configuration file.

With those ignored, there seem to be a fair number of a couple of different kinds of indentation issue (which is to be expected, and actually the thing I had noticed myself), some stuff about "truthy" values and, curiously, a couple of cases where it notices files with CRLF termination instead of LF.

As well as manual runs, we can consider adding it to the CI.

Longer term, we can consider making it stricter.

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