governance/.yamllint
Tony Breeds 950c4f19b7 Reduce the scope of yamllints coverage
Since I76bc62ef22d09e1b6c19ebcd9b12f6381e1fd2db the non-voting linters
target has been failign as it was also checking yaml files in the
virtualenvs created by tox [1].  This change modifies the way we invoke
yamllint so that only files we actually care about are linted.

We also configure yamllint to have a slight more generous line-length
limit and to disable the 'truthy'[2] rule.

[1] http://logs.openstack.org/10/382110/2/check/gate-governance-linters-ubuntu-xenial/6c8ae21/console.html#_2016-10-11_15_39_52_575891
[2] https://yamllint.readthedocs.io/en/latest/rules.html#module-yamllint.rules.truthy

Change-Id: Ia0337aa49efb9ec832356eed374cc56bac1e75bc
2016-10-18 14:09:41 +11:00

9 lines
202 B
Plaintext

---
rules:
line-length:
# Allow some of our longer URLs
max: 90
allow-non-breakable-words: yes # Default
allow-non-breakable-inline-mappings: no # Default
truthy: disable