tox.ini (ec2-api-14.0.1) | : | tox.ini (ec2-api-15.0.0) | ||
---|---|---|---|---|
skipping to change at line 13 | skipping to change at line 13 | |||
envlist = pep8,py3,docs,api-ref | envlist = pep8,py3,docs,api-ref | |||
skipsdist = True | skipsdist = True | |||
ignore_basepython_conflict = True | ignore_basepython_conflict = True | |||
[testenv] | [testenv] | |||
basepython = python3 | basepython = python3 | |||
usedevelop = True | usedevelop = True | |||
setenv = | setenv = | |||
PYTHONDONTWRITEBYTECODE=1 | PYTHONDONTWRITEBYTECODE=1 | |||
deps = | deps = | |||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/y oga} | -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/z ed} | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
commands = | commands = | |||
stestr run {posargs} | stestr run {posargs} | |||
stestr slowest | stestr slowest | |||
[testenv:pep8] | [testenv:pep8] | |||
commands = | commands = | |||
flake8 {posargs} | flake8 {posargs} | |||
[testenv:genconfig] | [testenv:genconfig] | |||
commands = oslo-config-generator --config-file=etc/ec2api/ec2api-config-generato r.conf | commands = oslo-config-generator --config-file=etc/ec2api/ec2api-config-generato r.conf | |||
[testenv:venv] | [testenv:venv] | |||
commands = {posargs} | commands = {posargs} | |||
[testenv:docs] | [testenv:docs] | |||
# This environment is called from CI scripts to test and publish | # This environment is called from CI scripts to test and publish | |||
# the API Ref and Docs to docs.openstack.org. | # the API Ref and Docs to docs.openstack.org. | |||
allowlist_externals = rm | allowlist_externals = rm | |||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up per/yoga} | deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up per/zed} | |||
-r{toxinidir}/doc/requirements.txt | -r{toxinidir}/doc/requirements.txt | |||
commands = | commands = | |||
rm -rf doc/build | rm -rf doc/build | |||
sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/buil d/html | sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/buil d/html | |||
[testenv:api-ref] | [testenv:api-ref] | |||
# This environment is called from CI scripts to test and publish | # This environment is called from CI scripts to test and publish | |||
# the API Ref to docs.openstack.org. | # the API Ref to docs.openstack.org. | |||
allowlist_externals = rm | allowlist_externals = rm | |||
deps = {[testenv:docs]deps} | deps = {[testenv:docs]deps} | |||
skipping to change at line 66 | skipping to change at line 66 | |||
# H106: Don't put vim configuration in source files | # H106: Don't put vim configuration in source files | |||
# H203: Use assertIs(Not)None to check for None | # H203: Use assertIs(Not)None to check for None | |||
enable-extensions=H106,H203 | enable-extensions=H106,H203 | |||
exclude = .venv,.git,.tox,dist,envname,*lib/python*,*egg,build,tools | exclude = .venv,.git,.tox,dist,envname,*lib/python*,*egg,build,tools | |||
max-complexity=25 | max-complexity=25 | |||
[flake8:local-plugins] | [flake8:local-plugins] | |||
extension = | extension = | |||
N537 = checks:no_translate_logs | N537 = checks:no_translate_logs | |||
paths = ./ec2api/hacking | paths = ./ec2api/hacking | |||
[testenv:lower-constraints] | ||||
deps = | ||||
-c{toxinidir}/lower-constraints.txt | ||||
-r{toxinidir}/test-requirements.txt | ||||
-r{toxinidir}/doc/requirements.txt | ||||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |