d862c7488a
Change-Id: I0fd71de780e7459405167a2ccc39c2811f0ac48a
31 lines
690 B
INI
31 lines
690 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8,docs
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/plain/upper-constraints.txt}
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
commands =
|
|
doc8 README.rst doc/source specs
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
|
|
|
[testenv:spelling]
|
|
basepython = python3
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
sphinxcontrib-spelling
|
|
PyEnchant
|
|
commands = sphinx-build -b spelling doc/source doc/build/spelling
|