mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Add yamllint linter to check manifests files
This commit is contained in:
parent
f00c63eaeb
commit
af83f645dd
20 changed files with 76 additions and 66 deletions
6
.yamllint
Normal file
6
.yamllint
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
line-length:
|
||||||
|
max: 160
|
|
@ -47,8 +47,8 @@ packages:
|
||||||
pin-priority: 500
|
pin-priority: 500
|
||||||
plugins:
|
plugins:
|
||||||
google_cloud_repo:
|
google_cloud_repo:
|
||||||
cleanup_bootstrap_key: True
|
cleanup_bootstrap_key: true
|
||||||
enable_keyring_repo: True
|
enable_keyring_repo: true
|
||||||
ntp:
|
ntp:
|
||||||
servers:
|
servers:
|
||||||
- metadata.google.internal
|
- metadata.google.internal
|
||||||
|
|
|
@ -34,8 +34,8 @@ packages:
|
||||||
- vim
|
- vim
|
||||||
plugins:
|
plugins:
|
||||||
google_cloud_repo:
|
google_cloud_repo:
|
||||||
cleanup_bootstrap_key: True
|
cleanup_bootstrap_key: true
|
||||||
enable_keyring_repo: True
|
enable_keyring_repo: true
|
||||||
ntp:
|
ntp:
|
||||||
servers:
|
servers:
|
||||||
- metadata.google.internal
|
- metadata.google.internal
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = flake8, unit, integration, docs
|
envlist = flake8, yamllint, unit, integration, docs
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E221,E241,E501
|
ignore = E221,E241,E501
|
||||||
|
@ -38,3 +38,7 @@ deps =
|
||||||
sphinx != 1.5
|
sphinx != 1.5
|
||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
|
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
|
||||||
|
|
||||||
|
[testenv:yamllint]
|
||||||
|
deps = yamllint
|
||||||
|
commands = yamllint manifests
|
||||||
|
|
Loading…
Add table
Reference in a new issue