Removed workaround for ansible-lint issue
Change-Id: I87496e41c85d4ab535f7c2f4d55f63ecbfc3b9c7
(cherry picked from commit 2caaeac9ed
)
This commit is contained in:
parent
875d0b3337
commit
16f471a83e
|
@ -21,12 +21,14 @@ repos:
|
||||||
files: \.(yaml|yml)$
|
files: \.(yaml|yml)$
|
||||||
types: [file, yaml]
|
types: [file, yaml]
|
||||||
entry: yamllint --strict -f parsable
|
entry: yamllint --strict -f parsable
|
||||||
- repo: https://github.com/ansible/ansible-lint
|
- repo: https://github.com/ansible/ansible-lint.git
|
||||||
rev: v4.1.1a0
|
rev: v4.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
files: \.(yaml|yml)$
|
always_run: true
|
||||||
entry: ansible-lint --force-color -v
|
pass_filenames: false
|
||||||
|
verbose: true
|
||||||
|
entry: ansible-lint --force-color -p -v
|
||||||
- repo: https://github.com/openstack-dev/bashate.git
|
- repo: https://github.com/openstack-dev/bashate.git
|
||||||
rev: 0.6.0
|
rev: 0.6.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -82,8 +82,6 @@ commands =
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
deps =
|
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}/requirements.txt
|
||||||
-r {toxinidir}/test-requirements.txt
|
-r {toxinidir}/test-requirements.txt
|
||||||
-r {toxinidir}/molecule-requirements.txt
|
-r {toxinidir}/molecule-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue