glean/tox.ini
Julia Kreger f15485b1ac Fix glean docs build
Change-Id: Ic9a5516a7424736ecb8e31862c81866f5d20ac98
2023-11-02 13:29:45 -07:00

38 lines
854 B
INI

[tox]
minversion = 1.6
envlist = py36,py35,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
OS_DEBUG=1
OS_LOG_CAPTURE=1
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands = sphinx-build -b html doc/source doc/build/html
[flake8]
show-source = True
# Per general Zuul projects
ignore = E124,E125,E129,E402,E741,W503,W504
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,glean/_vendor/*