Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
blog
Commits
71203bea7852
Commit
495ba2fe
authored
Feb 12, 2021
by
Laurent Peuch
Browse files
chore(yamllint): add and integrate yamllint
parent
aabbcc28b84a
Pipeline
#35286
passed with stages
in 3 minutes and 3 seconds
Changes
4
Pipelines
3
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
71203bea
...
...
@@ -21,3 +21,14 @@ py3:
artifacts
:
paths
:
-
py3-deprecated-warnings.json
yamllint
:
stage
:
lint
rules
:
-
changes
:
-
"
**/*.yaml"
-
"
*.yaml"
-
"
**/*.yml"
-
"
*.yml"
script
:
-
tox -e yamllint
.yamllint
0 → 100644
View file @
71203bea
extends: default
rules:
document-start: disable
line-length: disable
indentation:
spaces: 2
MANIFEST.in
View file @
71203bea
...
...
@@ -11,3 +11,4 @@ include tox.ini
prune debian
exclude cubicweb-blog.spec
exclude .gitlab-ci.yml
exclude .yamllint
tox.ini
View file @
71203bea
[tox]
envlist
=
py3, flake8, check-manifest
envlist
=
py3, flake8, check-manifest
, yamllint
[testenv]
deps
=
...
...
@@ -72,3 +72,8 @@ commands =
sh
-c
"cd
dist
&&
dcmd
zip
latest.zip
*.changes"
http
-f
POST
https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters
DIST
=
buster source.zip@dist/latest.zip REPO=buster PUBLISH=true
[testenv:yamllint]
skip_install
=
true
deps
=
yamllint
commands
=
yamllint
.
Write
Preview
Markdown
is supported
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