Commit cf63ad29 authored by Cube Doctor's avatar Cube Doctor
Browse files

chore(yamllint): add and integrate yamllint

parent 114800ec8c41
Pipeline #35974 passed with stage
in 3 minutes and 56 seconds
......@@ -15,4 +15,12 @@ py3:
paths:
- py3-deprecated-warnings.json
yamllint:
rules:
- changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
script:
- tox -e yamllint
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
......@@ -14,3 +14,4 @@ recursive-include deploy *.yaml
prune debian
exclude .gitlab-ci.yml
prune deploy
exclude .yamllint
[tox]
envlist = py3,flake8,check-manifest
envlist = py3,flake8,check-manifest,yamllint
[testenv]
deps =
......@@ -32,3 +32,9 @@ commands =
[flake8]
max-line-length = 120
exclude = cubicweb-fresh-*,cubicweb_fresh/migration/*,.tox/*,
[testenv:yamllint]
skip_install = true
deps = yamllint
commands =
yamllint .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment