fix linters
Partial-Fix: https://bugs.launchpad.net/tripleo/+bug/1848512 Change-Id: I460f5593b66c073a75b713bac848dcd66b639e9c
This commit is contained in:
parent
027a33befd
commit
fb3f16a822
@ -31,3 +31,6 @@ gzip
|
||||
# Required to build language docs
|
||||
gettext
|
||||
|
||||
# debian requirements (linters)
|
||||
libffi-dev [platform:dpkg]
|
||||
libssl-dev [platform:dpkg]
|
||||
|
8
tox.ini
8
tox.ini
@ -19,9 +19,12 @@ setenv =
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
passenv =
|
||||
ANSIBLE_*
|
||||
CURL_CA_BUNDLE
|
||||
DOCKER_*
|
||||
PYTEST*
|
||||
REQUESTS_CA_BUNDLE
|
||||
SSH_AUTH_SOCK
|
||||
SSL_CERT_FILE
|
||||
TERM
|
||||
install_command = pip install {opts} {packages}
|
||||
deps =
|
||||
@ -77,7 +80,10 @@ commands =
|
||||
|
||||
[testenv:linters]
|
||||
skip_install = true
|
||||
deps = pre-commit
|
||||
deps =
|
||||
# workaround for https://github.com/ansible/ansible-lint/issues/590
|
||||
virtualenv==16.3.0 # 16.7.6 not working
|
||||
pre-commit
|
||||
commands =
|
||||
python -m pre_commit run -a {posargs:}
|
||||
bash -c tools/check_duplicate_jinja_blocks.sh
|
||||
|
Loading…
Reference in New Issue
Block a user