TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.8 KiB

minversion = 2.0
envlist = docs, linters
skipdist = True
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r {toxinidir}/test-requirements.txt
whitelist_externals = bash
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
# separately, outside of the requirements files.
deps = bindep
commands = bindep test
basepython = python3
commands =
# Run hacking/flake8 check for all python files
bash -c "git ls-files | grep -v releasenotes | xargs grep --binary-files=without-match \
--files-with-match '^.!.*python$' \
--exclude-dir .tox \
--exclude-dir .git \
--exclude-dir .eggs \
--exclude-dir *.egg-info \
--exclude-dir dist \
--exclude-dir *lib/python* \
--exclude-dir doc \
| xargs flake8 --verbose"
deps = -r {toxinidir}/ansible-requirements.txt
commands =
bash ci-scripts/
basepython = python3
deps =
-r {toxinidir}/test-requirements.txt
-r {toxinidir}/ansible-requirements.txt
commands =
basepython = python3
whitelist_externals = bash
commands = bash -c ci-scripts/
basepython = python3
commands = {posargs}
# E123, E125 skipped as they are invalid PEP-8.
# E265 deals with spaces inside of comments
show-source = True
ignore = E123,E125,E265
builtins = _