Merge "fix tox python3 overrides"

changes/45/560445/221
Zuul 4 years ago committed by Gerrit Code Review
commit 27c0335b8a
  1. 6
      tox.ini

@ -11,6 +11,7 @@ deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = bash
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@ -19,6 +20,7 @@ deps = bindep
commands = bindep test
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:bashate]
@ -27,6 +29,7 @@ commands =
python -m pre_commit run bashate --all-files
[testenv:pep8]
basepython = python3
envdir = {toxworkdir}/linters
commands =
python -m pre_commit run flake8 --all-files
@ -37,10 +40,12 @@ commands =
python -m pre_commit run ansible-lint -a
[testenv:releasenotes]
basepython = python3
whitelist_externals = bash
commands = bash -c ci-scripts/releasenotes_tox.sh
[testenv:linters]
basepython = python3
commands =
# check only modified files:
python -m pre_commit run --source HEAD^ --origin HEAD
@ -49,6 +54,7 @@ commands =
{[testenv:validate-jinja]commands}
[testenv:venv]
basepython = python3
commands = {posargs}
[flake8]

Loading…
Cancel
Save