Add linting for the sig.yaml

And correct a couple of small issues.

Change-Id: I8fcdf0a9387aff7be01bccbd9b10a84a88df4080
This commit is contained in:
Tony Breeds 2019-11-12 15:28:46 +11:00
parent 8e7ffb22ce
commit 8a9fd2ba04
5 changed files with 21 additions and 3 deletions

6
.yamllint Normal file
View File

@ -0,0 +1,6 @@
---
extends: default
rules:
line-length:
level: warning
max: 90

View File

@ -1,6 +1,12 @@
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- openstack-tox-linters
gate:
jobs:
- openstack-tox-linters
promote:
jobs:
- promote-governance-sigs

View File

@ -1,3 +1,4 @@
---
Ansible:
chairs:
- name: Mohammed Naser
@ -143,8 +144,8 @@ First Contact:
email: matt@oliver.net.au
scope: >
To provide a place for new contributors to come for information and advice.
This group will also analyze and document successful contribution models while
seeking out and providing information to new members of the community.
This group will also analyze and document successful contribution models
while seeking out and providing information to new members of the community.
status: active
url: https://wiki.openstack.org/wiki/First_Contact_SIG

View File

@ -6,3 +6,4 @@ docutils>=0.11,!=0.13.1 # OSI-Approved Open Source, Public Domain
sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
openstackdocstheme>=1.25.1 # Apache-2.0
yamllint

View File

@ -1,5 +1,5 @@
[tox]
envlist = docs
envlist = docs,linters
minversion = 1.6
skipsdist = True
@ -16,3 +16,7 @@ commands = {posargs}
[testenv:docs]
basepython = python3
commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
[testenv:linters]
basepython = python3
commands = yamllint sigs.yaml