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
cube-doctor
Commits
2798704136d5
Commit
3cef46ee
authored
Apr 21, 2021
by
Laurent Peuch
Browse files
fix(yamllint): also check that .gitlab-ci.yml and .yamllint are present
parent
c71da65e5d09
Changes
1
Show whitespace changes
Inline
Side-by-side
cube_doctor/transforms/add_yamllint.py
View file @
27987041
...
...
@@ -67,6 +67,12 @@ class AddYamlLint(Command):
)
def
pre_check
(
self
,
root_files
):
if
".gitlab-ci.yml"
not
in
root_files
:
return
"continue"
if
".yamllint"
in
root_files
:
return
"continue"
if
"tox.ini"
not
in
root_files
:
return
"continue"
...
...
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