3 envlist = py34, pep8,docs,docs-linkcheck
8 install_command = pip install \
9 -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike \
11 setenv = VIRTUAL_ENV={envdir}
12 deps = -r{toxinidir}/requirements.txt
21 OS_PROJECT_DOMAIN_NAME
35 changedir = {toxinidir}/doctor_tests
36 commands = doctor-test
37 /bin/find {toxinidir} -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
40 changedir = {toxinidir}
44 # E123, E125 skipped as they are invalid PEP-8.
45 # H106: Don’t put vim configuration in source files
46 # H203: Use assertIs(Not)None to check for None
50 enable-extensions=H106,H203
52 filename = *.py,app.wsgi
53 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tests
56 changedir = {toxinidir}
57 deps = -rdocs/requirements.txt
59 sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
60 echo "Generated docs available in {toxinidir}/docs/_build/html"
61 whitelist_externals = echo
63 [testenv:docs-linkcheck]
64 changedir = {toxinidir}
65 deps = -rdocs/requirements.txt
66 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck