Merge "[POLICY] Migration of clamp to policy area"
[oom.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist =
4  docs,
5  docs-linkcheck,
6  gitlint,
7 skipsdist=true
8
9 [doc8]
10 ignore-path-errors=docs/helm-search.txt;D001
11
12 [testenv:doc8]
13 deps = -rdocs/requirements-docs.txt
14 commands =
15  doc8 docs/
16
17 [testenv:docs]
18 deps = -rdocs/requirements-docs.txt
19 commands =
20  sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
21
22 [testenv:docs-linkcheck]
23 deps = -rdocs/requirements-docs.txt
24 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
25
26 [testenv:spelling]
27 #basepython = python3
28 whitelist_externals = wget
29 deps =
30     -rdocs/requirements-docs.txt
31     sphinxcontrib-spelling
32     PyEnchant
33 changedir={toxinidir}/docs
34 commands =
35     wget -nv https://git.onap.org/doc/plain/docs/spelling_wordlist.txt -O spelling_wordlist.txt
36     sphinx-build -b spelling -d {envtmpdir}/doctrees . _build/spelling
37
38 [testenv:gitlint]
39 basepython = python3
40 deps =
41   gitlint
42
43 commands =
44   gitlint
45