Commit 3c13ab46 authored by Cube Doctor's avatar Cube Doctor
Browse files

chore(yamllint): add and integrate yamllint

parent 134abff4a080
Pipeline #85765 failed with stages
in 40 seconds
......@@ -40,3 +40,14 @@ image_build_latest:
--destination $CI_REGISTRY_IMAGE:latest
rules:
- if: '$CI_COMMIT_REF_NAME == "branch/default"'
yamllint:
stage: lint
rules:
- changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
script:
- tox -e yamllint
ignore: |
.tox/
node_modules/
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
......@@ -17,3 +17,4 @@ exclude .gitlab-ci.yml
exclude .dockerignore
exclude Dockerfile
prune deploy
exclude .yamllint
[tox]
envlist = py3,flake8,check-manifest
envlist = py3,flake8,check-manifest,yamllint
[testenv]
basepython = python3
......@@ -56,3 +56,9 @@ commands =
python3 setup.py sdist bdist_wheel
twine check dist/*
twine upload --skip-existing dist/*
[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