tox.ini (manila-11.0.0) | : | tox.ini (manila-11.0.1) | ||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
minversion = 2.0 | minversion = 2.0 | |||
skipsdist = True | skipsdist = True | |||
envlist = py3,pep8 | envlist = py3,pep8 | |||
[testenv] | [testenv] | |||
basepython = python3 | basepython = python3 | |||
setenv = VIRTUAL_ENV={envdir} | setenv = VIRTUAL_ENV={envdir} | |||
usedevelop = True | usedevelop = True | |||
whitelist_externals = find | whitelist_externals = find | |||
deps = | deps = | |||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper /master} | -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/v ictoria} | |||
-r{toxinidir}/requirements.txt | -r{toxinidir}/requirements.txt | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
commands = | commands = | |||
find . -type f -name "*.py[c|o]" -delete | find . -type f -name "*.py[c|o]" -delete | |||
stestr run {posargs} | stestr run {posargs} | |||
stestr slowest | stestr slowest | |||
[testenv:releasenotes] | [testenv:releasenotes] | |||
deps = | deps = | |||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper /master} | -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/v ictoria} | |||
-r{toxinidir}/doc/requirements.txt | -r{toxinidir}/doc/requirements.txt | |||
commands = | commands = | |||
rm -rf releasenotes/build | rm -rf releasenotes/build | |||
sphinx-build -a -E -W -d releasenotes/build/doctrees \ | sphinx-build -a -E -W -d releasenotes/build/doctrees \ | |||
-b html releasenotes/source releasenotes/build/html | -b html releasenotes/source releasenotes/build/html | |||
whitelist_externals = rm | whitelist_externals = rm | |||
[testenv:debug] | [testenv:debug] | |||
commands = oslo_debug_helper {posargs} | commands = oslo_debug_helper {posargs} | |||
skipping to change at line 67 | skipping to change at line 67 | |||
oslo-config-generator --config-file etc/oslo-config-generator/manila.conf | oslo-config-generator --config-file etc/oslo-config-generator/manila.conf | |||
[testenv:genpolicy] | [testenv:genpolicy] | |||
commands = oslopolicy-sample-generator --config-file=etc/manila/manila-policy-ge nerator.conf | commands = oslopolicy-sample-generator --config-file=etc/manila/manila-policy-ge nerator.conf | |||
[testenv:venv] | [testenv:venv] | |||
commands = {posargs} | commands = {posargs} | |||
[testenv:docs] | [testenv:docs] | |||
deps = | deps = | |||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper /master} | -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/v ictoria} | |||
-r{toxinidir}/doc/requirements.txt | -r{toxinidir}/doc/requirements.txt | |||
commands = | commands = | |||
rm -rf doc/build | rm -rf doc/build | |||
sphinx-build -W -b html doc/source doc/build/html | sphinx-build -W -b html doc/source doc/build/html | |||
# Ignore D001 since we allow lines in excess of 79 characters. | # Ignore D001 since we allow lines in excess of 79 characters. | |||
doc8 --ignore D001 --ignore-path .tox --ignore-path doc/build --ignore-path ma nila.egg-info -e .txt -e .rst -e .inc | doc8 --ignore D001 --ignore-path .tox --ignore-path doc/build --ignore-path ma nila.egg-info -e .txt -e .rst -e .inc | |||
whitelist_externals = rm | whitelist_externals = rm | |||
[testenv:pdf-docs] | [testenv:pdf-docs] | |||
deps = {[testenv:docs]deps} | deps = {[testenv:docs]deps} | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |