Skip to content

bogus "found character '\t' that cannot start any token" error #805

@ensc

Description

@ensc

I have a gitlab CI yaml file with

variables:
  OS:			fedora:43

yamllint v1.38.0 complains about this with

  15:6      error    syntax error: found character '\t' that cannot start any token (syntax)

which seems to be triggered by the tabulators after "OS:"

YAML 1.2 allows tabulators at this place (https://yaml.org/spec/1.2.2/#62-separation-spaces)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions