Commit 3cef46ee authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix(yamllint): also check that .gitlab-ci.yml and .yamllint are present

parent c71da65e5d09
......@@ -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"
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