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

chore(yamllint): add and integrate yamllint

parent 2285db1db7e9
Pipeline #35943 failed with stages
in 8 minutes and 10 seconds
......@@ -2,6 +2,7 @@
image: python:3.7
stages:
- lint
- tests
- after-tests
......@@ -30,3 +31,14 @@ black:
mypy:
stage: tests
script: tox -e mypy
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
......@@ -12,3 +12,4 @@ recursive-include deploy *.yaml
prune debian
prune deploy
exclude .gitlab-ci.yml
exclude .yamllint
[tox]
envlist = py3,flake8,check-manifest,black
envlist = py3,flake8,check-manifest,black,yamllint
[testenv]
deps =
......@@ -53,3 +53,8 @@ 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