e60481879b
Create the 2017.08 Guideline candidate, to be moved from review to approved status if and when approved by the OpenStack Foundation Board of Directors. A vote is expected at the August 22, 2017 Board meeting. Note: this patch also adds back test information for two Capabilities that were deprecated (and keeps them marked as not required). The tests associated with these were inadvertently removed in Iabb1d0820300442e407d8b92dfb575ac71471d06 but should instead have simply had their "required-since" status nullified, as removing them entirely breaks the jsonToRst.py script and leaves users unable to easily find the tests that are no longer required due to the deprecation. Change-Id: Ifce3fe1e3401e7f887ddeae2a41078dca7e16625
59 lines
1.2 KiB
INI
59 lines
1.2 KiB
INI
[tox]
|
|
envlist = docs,doc8,pep8,jsonlint,jsonschema
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython=python2.7
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:doc8]
|
|
commands =
|
|
doc8 -e .rst doc/source
|
|
|
|
[testenv:docs]
|
|
commands=
|
|
python setup.py build_sphinx
|
|
|
|
[testenv:pep8]
|
|
basepython = python2.7
|
|
deps =
|
|
flake8
|
|
{[testenv]deps}
|
|
commands=
|
|
bash tools/flake8wrap.sh
|
|
whitelist_externals =
|
|
sh
|
|
bash
|
|
|
|
[flake8]
|
|
# E125 is deliberately excluded.
|
|
# See https://github.com/jcrocholl/pep8/issues/126
|
|
ignore = E125
|
|
exclude = .venv,.git,.tox,doc,conf.py
|
|
|
|
[testenv:jsonlint]
|
|
commands=
|
|
jsonlint -s next.json
|
|
jsonlint -s 2015.07.json
|
|
jsonlint -s 2016.01.json
|
|
jsonlint -s 2016.08.json
|
|
jsonlint -s 2017.01.json
|
|
jsonlint -s 2017.08.json
|
|
jsonlint -s doc/source/schema/1.5.json
|
|
jsonlint -s doc/source/schema/1.6.json
|
|
|
|
[testenv:jsonschema]
|
|
commands=
|
|
jsonschema doc/source/schema/1.5.json -i next.json
|
|
jsonschema doc/source/schema/1.5.json -i 2015.07.json
|
|
jsonschema doc/source/schema/1.5.json -i 2016.01.json
|
|
jsonschema doc/source/schema/1.6.json -i 2016.08.json
|
|
jsonschema doc/source/schema/1.6.json -i 2017.01.json
|
|
jsonschema doc/source/schema/1.6.json -i 2017.08.json
|