11 skip_missing_interpreters = true
12 ignore_basepython_conflict = true
17 ignore = E203, W503, C901, E402, B011
24 addopts = -p no:warnings
28 deps = -r{toxinidir}/requirements-test.txt
32 description = Build the documentation with sphinx
34 deps = -rrequirements-docs.txt
36 commands = sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
38 [testenv:docs-linkcheck]
39 description = Check the documentation links with sphinx
41 deps = -rrequirements-docs.txt
43 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
45 [testenv:latest-upstream]
46 description = Latest upstream test. Used for what exactly?
48 deps = -r{toxinidir}/requirements-test.txt
50 pip install -U python-jenkins requests shade
54 description = Check all files for license header
58 lftools license check-dir lftools
59 lftools license check-dir -r '.+' shell
62 description = Precommit checks for black, gitlint, etc.
66 pre-commit run --all-files
69 description = OpenStack Reno checks
72 commands = reno {posargs:--help}