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
34 changedir = {toxinidir}/doctor_tests
35 commands = doctor-test
38 changedir = {toxinidir}
42 # E123, E125 skipped as they are invalid PEP-8.
43 # H106: Don’t put vim configuration in source files
44 # H203: Use assertIs(Not)None to check for None
48 enable-extensions=H106,H203
50 filename = *.py,app.wsgi
51 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tests
54 changedir = {toxinidir}
55 deps = -rdocs/requirements.txt
57 sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
58 echo "Generated docs available in {toxinidir}/docs/_build/html"
59 whitelist_externals = echo
61 [testenv:docs-linkcheck]
62 changedir = {toxinidir}
63 deps = -rdocs/requirements.txt
64 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck