Switch to yamllint for tox -elinters

It was a lot of overhead, with little gain, to run molecule lint.
Switch back to just using yamllint.

Change-Id: Ie4e4d5d77dcb864f7b76cd356cab7adf9516d1b3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-03-08 10:10:34 -05:00
parent b363f10c1e
commit 17e04fb576
5 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,8 @@
extends: default extends: default
ignore: |
.tox
rules: rules:
braces: braces:
max-spaces-inside: 1 max-spaces-inside: 1

View File

@ -1,3 +1,4 @@
---
- hosts: all - hosts: all
tasks: tasks:
- name: Ensure journald logs directory exists - name: Ensure journald logs directory exists
@ -23,7 +24,7 @@
- "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/junit.xml" - "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/junit.xml"
- name: Prepare nodepool log files - name: Prepare nodepool log files
become: yes become: true
synchronize: synchronize:
dest: "{{ zuul_output_dir }}/logs/logs" dest: "{{ zuul_output_dir }}/logs/logs"
rsync_opts: rsync_opts:

View File

@ -1,3 +1,4 @@
---
- hosts: all - hosts: all
tasks: tasks:
# TODO(pabelanger): Remove once this lands in our base job in # TODO(pabelanger): Remove once this lands in our base job in
@ -7,7 +8,7 @@
name: ensure-output-dirs name: ensure-output-dirs
- name: Disable extra wheels mirror - name: Disable extra wheels mirror
become: yes become: true
lineinfile: lineinfile:
dest: /etc/pip.conf dest: /etc/pip.conf
regexp: ^extra-index-url regexp: ^extra-index-url

View File

@ -1,3 +1,4 @@
---
- hosts: all - hosts: all
tasks: tasks:
- name: Run testinfra validation - name: Run testinfra validation

View File

@ -33,7 +33,7 @@ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[testenv:linters] [testenv:linters]
commands = commands =
molecule lint yamllint -s .
[testenv:molecule] [testenv:molecule]
sitepackages = True sitepackages = True