Enabling indentation rule for yamllint.

With the exception of release notes, yaml files will
now have to be indented with a consistent number of whitespace chars.

As described:
https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.indentation

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: Id1fe1aaab4704f75fa1fedd99df875430cd3df8c
This commit is contained in:
Jiri Podivin 2021-06-11 09:45:56 +02:00
parent 35f34ffdab
commit 93c15fd60e
1 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,10 @@ rules:
line-length:
# matches hardcoded 160 value from ansible-lint
max: 160
indentation:
spaces: consistent
indent-sequences: true
check-multi-line-strings: false
ignore: |
zuul.d/*.yaml
releasenotes/notes/*.yaml