Add yamllint to linters check

Change-Id: Iab88f866bc5253df09ea574576256e7fb0c11414
This commit is contained in:
Dmitriy Rabotyagov 2024-02-23 17:06:13 +01:00 committed by Dmitriy Rabotyagov
parent b04bf138e4
commit 81ce068db6
2 changed files with 14 additions and 0 deletions

13
.yamllint.yml Normal file
View File

@ -0,0 +1,13 @@
---
extends: default
ignore: |
.tox/
rules:
line-length:
max: 120
level: warning
braces:
min-spaces-inside: 1
max-spaces-inside: 1
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0

View File

@ -39,3 +39,4 @@ commands =
bash -c 'printf -- "- name: frrouting\n src: git+file://{toxinidir}\n" > {envdir}/test-requirements.yml'
ansible-galaxy install -r {envdir}/test-requirements.yml --roles-path {envdir} --force
ansible-lint {toxinidir}/tests/test.yml
yamllint {toxinidir}