Merge "Reduce the scope of yamllints coverage"
This commit is contained in:
commit
f514a93082
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
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
|
6
tox.ini
6
tox.ini
|
@ -10,7 +10,11 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:linters]
|
||||
commands = yamllint .
|
||||
whitelist_externals = bash
|
||||
commands = bash -c "find {toxinidir} \
|
||||
\( -name .tox -prune \) \
|
||||
-o -type f -name '*.yaml' \
|
||||
-print0 | xargs -0 yamllint"
|
||||
{toxinidir}/tools/check_projects_yaml_alphabetized.sh
|
||||
|
||||
[testenv:venv]
|
||||
|
|
Loading…
Reference in New Issue