Commit 495ba2fe authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(yamllint): add and integrate yamllint

parent aabbcc28b84a
Pipeline #35286 passed with stages
in 3 minutes and 3 seconds
......@@ -21,3 +21,14 @@ py3:
artifacts:
paths:
- py3-deprecated-warnings.json
yamllint:
stage: lint
rules:
- changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
script:
- tox -e yamllint
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
......@@ -11,3 +11,4 @@ include tox.ini
prune debian
exclude cubicweb-blog.spec
exclude .gitlab-ci.yml
exclude .yamllint
[tox]
envlist = py3, flake8, check-manifest
envlist = py3, flake8, check-manifest, yamllint
[testenv]
deps =
......@@ -72,3 +72,8 @@ commands =
sh -c "cd dist && dcmd zip latest.zip *.changes"
http -f POST https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters DIST=buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[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