Skip to content

Inline-Ignore (yml) does not work with multiple whitespaces #3644

@CCFenner

Description

@CCFenner

Having multiple after the # breaks the line-ignore

test:
  fpr: something #  codespell:ignore fpr

Fixing this (removing the whitespaces) clashed with https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.comments default settings for min-spaces-from-content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions