Commit 12c48814 authored by Cube Doctor's avatar Cube Doctor
Browse files

chore(yamllint): add and integrate yamllint

parent d382db31e45f
Pipeline #73380 passed with stages
in 2 minutes and 14 seconds
......@@ -20,3 +20,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
......@@ -12,3 +12,4 @@ exclude .cube-doctor.yml
exclude .gitlab-ci.yml
exclude .gitlab-ci-extended.yml
exclude CHANGELOG.md
exclude .yamllint
[tox]
envlist = py3,flake8,black,check-manifest
envlist = py3,flake8,black,check-manifest,yamllint
[testenv]
deps =
......@@ -61,3 +61,9 @@ skip_install = true
deps =
black >= 19.10b0
commands = black .
[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