Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
74f6faa36070
Commit
f5187cfe
authored
Feb 09, 2021
by
Laurent Peuch
Browse files
ci: integrate yamllint
parent
dda3bcad831b
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
74f6faa3
...
...
@@ -43,6 +43,22 @@ lint_doc8:
script
:
-
tox -e doc8
lint_yaml
:
except
:
variables
:
-
$TRIGGERED_FROM_OTHER_PROJECT
only
:
changes
:
-
"
**/*.yaml"
-
"
*.yaml"
-
"
**/*.yml"
-
"
*.yml"
stage
:
lint
before_script
:
-
pip install tox
script
:
-
tox -e yamllint
build_doc
:
only
:
changes
:
...
...
.yamllint
0 → 100644
View file @
74f6faa3
extends: default
rules:
document-start: disable
line-length: disable
MANIFEST.in
View file @
74f6faa3
...
...
@@ -5,6 +5,7 @@ include pylintrc
include jshintrc
include tox.ini
exclude .gitlab-ci.yml
exclude .yamllint
prune .gitlab
include flake8-ok-files.txt
...
...
tox.ini
View file @
74f6faa3
...
...
@@ -5,7 +5,8 @@ envlist =
py3-from-forge-server,
py3-from-forge-web,
py3-from-forge-misc,
doc8
doc8,
yamllint
[testenv]
basepython
=
python3
...
...
@@ -117,4 +118,8 @@ commands =
twine
check
dist/*
twine
upload
--skip-existing
dist/*
# vim: wrap sts=2 sw=2
[testenv:yamllint]
skip_install
=
true
deps
=
yamllint
commands
=
yamllint
.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment