Replace tagged YAML with ordinary scalars

Proofline rejects explicit YAML tags before it checks their values.

Use the field’s native YAML type#

If a YAML generator writes a type tag such as !!bool or !!str, remove the tag and spell the value in the type the field expects.

version: 2
reviews:
  exclude_generated: true
  labels_include: ["true"]

Here true under exclude_generated is a boolean, while the quoted label is a string. If the source file is generated, adjust its template so the next generation preserves these types.

Search help

Tab to a result. Enter to open. Escape to close.