From 16f471a83e3e3cfa746274a00f9e8bc472a4b569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Jeanneret?= Date: Mon, 9 Dec 2019 17:31:58 +0100 Subject: [PATCH] Removed workaround for ansible-lint issue Change-Id: I87496e41c85d4ab535f7c2f4d55f63ecbfc3b9c7 (cherry picked from commit 2caaeac9ed0580eb76a5d36d6e6dae06304095a2) --- .pre-commit-config.yaml | 10 ++++++---- tox.ini | 2 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6203e5440..81d334cb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,12 +21,14 @@ repos: files: \.(yaml|yml)$ types: [file, yaml] entry: yamllint --strict -f parsable - - repo: https://github.com/ansible/ansible-lint - rev: v4.1.1a0 + - repo: https://github.com/ansible/ansible-lint.git + rev: v4.2.0 hooks: - id: ansible-lint - files: \.(yaml|yml)$ - entry: ansible-lint --force-color -v + always_run: true + pass_filenames: false + verbose: true + entry: ansible-lint --force-color -p -v - repo: https://github.com/openstack-dev/bashate.git rev: 0.6.0 hooks: diff --git a/tox.ini b/tox.ini index 40148bdef..88ad4865a 100644 --- a/tox.ini +++ b/tox.ini @@ -82,8 +82,6 @@ commands = [testenv:linters] deps = - # workaround for https://github.com/ansible/ansible-lint/issues/590 - virtualenv==16.3.0 # 16.7.6 not working -r {toxinidir}/requirements.txt -r {toxinidir}/test-requirements.txt -r {toxinidir}/molecule-requirements.txt