mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Merge pull request #437 from octivi/yamllint
Add yamllint linter to check manifests files
This commit is contained in:
commit
ad2c455c4c
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
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue