Merge pull request #437 from octivi/yamllint

Add yamllint linter to check manifests files
This commit is contained in:
Anders Ingemann 2018-01-20 14:14:36 +01:00 committed by GitHub
commit ad2c455c4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 76 additions and 66 deletions

6
.yamllint Normal file
View file

@ -0,0 +1,6 @@
---
extends: default
rules:
line-length:
max: 160

View file

@ -47,8 +47,8 @@ packages:
pin-priority: 500
plugins:
google_cloud_repo:
cleanup_bootstrap_key: True
enable_keyring_repo: True
cleanup_bootstrap_key: true
enable_keyring_repo: true
ntp:
servers:
- metadata.google.internal

View file

@ -34,8 +34,8 @@ packages:
- vim
plugins:
google_cloud_repo:
cleanup_bootstrap_key: True
enable_keyring_repo: True
cleanup_bootstrap_key: true
enable_keyring_repo: true
ntp:
servers:
- metadata.google.internal

View file

@ -1,5 +1,5 @@
[tox]
envlist = flake8, unit, integration, docs
envlist = flake8, yamllint, unit, integration, docs
[flake8]
ignore = E221,E241,E501
@ -38,3 +38,7 @@ deps =
sphinx != 1.5
sphinx_rtd_theme
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
[testenv:yamllint]
deps = yamllint
commands = yamllint manifests