---
extends: default

ignore: |
  .venv/**
  # Written and rewritten by antsibull-changelog, which does not indent sequences.
  changelogs/config.yaml
  changelogs/changelog.yaml

rules:
  trailing-spaces:
    level: error
  comments:
    # https://github.com/prettier/prettier/issues/6780
    min-spaces-from-content: 1
  # https://github.com/adrienverge/yamllint/issues/384
  comments-indentation: false
  document-start: disable
  line-length:
    max: 160
  braces:
    min-spaces-inside: 0
    max-spaces-inside: 1
  octal-values:
    forbid-implicit-octal: true
    forbid-explicit-octal: true
