Commit 365ad44e authored by Cube Doctor's avatar Cube Doctor
Browse files

chore(yamllint): add and integrate yamllint

parent 2789d5765ffa
Pipeline #78903 failed with stages
in 1 minute and 3 seconds
......@@ -19,3 +19,17 @@ stages:
- tests
- release
- publish
yamllint:
image: python
stage: lint
rules:
- changes:
- "**/*.yaml"
- "*.yaml"
- "**/*.yml"
- "*.yml"
before_script:
- pip install tox
script:
- tox -e yamllint
ignore: |
.tox/
node_modules/
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
......@@ -14,3 +14,4 @@ include README.rst
exclude .cube-doctor.yml
exclude .gitlab-ci.yml
exclude .gitlab-ci-extended.yml
exclude .yamllint
[tox]
envlist = py27
envlist = py27,yamllint
[testenv]
sitepackages = True
......@@ -22,3 +22,8 @@ commands =
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