Run yamllint on etc/kayobe during pep8 tox env
We run yamllint with the same configuration in kayobe-config, so we should catch issues here before they are synchronised. Change-Id: Ia2de07abc7c58040f99766adb950c477800ea56d
This commit is contained in:
parent
d6727debcd
commit
4d52ee0cdf
12
.yamllint
Normal file
12
.yamllint
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
braces:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
brackets:
|
||||||
|
max-spaces-inside: 1
|
||||||
|
level: error
|
||||||
|
comments:
|
||||||
|
require-starting-space: false
|
||||||
|
truthy: disable
|
@ -26,7 +26,8 @@
|
|||||||
# volume group for libvirt storage.
|
# volume group for libvirt storage.
|
||||||
#seed_hypervisor_lvm_groups:
|
#seed_hypervisor_lvm_groups:
|
||||||
|
|
||||||
# Suggested list of seed hypervisor volume groups for libvirt. Not used by default.
|
# Suggested list of seed hypervisor volume groups for libvirt. Not used by
|
||||||
|
# default.
|
||||||
#seed_hypervisor_lvm_groups_with_data:
|
#seed_hypervisor_lvm_groups_with_data:
|
||||||
|
|
||||||
# Seed LVM volume group for data. See mrlesmithjr.manage-lvm role for format.
|
# Seed LVM volume group for data. See mrlesmithjr.manage-lvm role for format.
|
||||||
|
@ -13,3 +13,4 @@ oslotest>=1.10.0 # Apache-2.0
|
|||||||
# NOTE(mgoddard): This is required by tools/sphinx8.
|
# NOTE(mgoddard): This is required by tools/sphinx8.
|
||||||
sphinx>=1.5.1 # BSD
|
sphinx>=1.5.1 # BSD
|
||||||
stestr # Apache-2.0
|
stestr # Apache-2.0
|
||||||
|
yamllint # GPLv3
|
||||||
|
1
tox.ini
1
tox.ini
@ -32,6 +32,7 @@ commands =
|
|||||||
# We use a thin wrapper around doc8 currently, which has support for sphinx
|
# We use a thin wrapper around doc8 currently, which has support for sphinx
|
||||||
# directives.
|
# directives.
|
||||||
{toxinidir}/tools/sphinx8 README.rst CONTRIBUTING.rst doc/source --ignore D001
|
{toxinidir}/tools/sphinx8 README.rst CONTRIBUTING.rst doc/source --ignore D001
|
||||||
|
yamllint etc/kayobe
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user