44d263b2bf
- braces - brackets - colons - commas - comments - hyphens - indentation - key-duplicates with corresponding code changes. Also disable enforcement for document-(start|end) rules and disables warnings to increase readability. * Unrestrict octal values rule since benefits of file modes readability exceed possible issues with yaml 1.2 adoption in future k8s versions. These issues will be addressed when/if they occur. Change-Id: Ic5e327cf40c4b09c90738baff56419a6cef132da Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
37 lines
759 B
INI
37 lines
759 B
INI
[tox]
|
|
minversion = 3.1
|
|
envlist = docs
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
|
passenv = *_proxy *_PROXY
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
deps = -r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
rm -rf doc/build
|
|
docstheme-build-translated.sh
|
|
whitelist_externals =
|
|
rm
|
|
|
|
[testenv:lint]
|
|
deps =
|
|
yq
|
|
yamllint
|
|
commands =
|
|
rm -rf .yamllint
|
|
bash -c 'if [ ! -d ../openstack-helm-infra ]; then\
|
|
git clone https://opendev.org/openstack/openstack-helm-infra ../openstack-helm-infra;\
|
|
fi'
|
|
bash ../openstack-helm-infra/tools/gate/lint.sh
|
|
whitelist_externals =
|
|
rm
|
|
bash
|