Ansible job definitions for OpenStack projects CI systems
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.

45 lines
1.5 KiB

minversion = 3.2.0
skipsdist = True
envlist = linters
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
# 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
deps =
commands =
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
whitelist_externals = bash
setenv =
# NOTE(ianw) : In the gate job openstack-zuul-jobs-linters this is
# overridden to the Zuul checkouts of the projects. Locally,
# tools/ will populate these for the
# linter.
commands =
flake8 {posargs}
commands = {posargs}
# These are ignored intentionally in openstack-infra projects;
# please don't submit patches that solely correct them or enable them.
ignore = E125,E129,H
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg