summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorRich Bennett <rb2745@att.com>2018-04-26 14:01:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-26 14:01:17 +0000
commit05dfecc008c56d6bf459cdeaf15a972cbf546d02 (patch)
tree330928ced3687e6265f14de367cdb6e5fbcd5d35 /tox.ini
parenta5dbf2e1382f693c344fa7e1c7b846a6ab6669c7 (diff)
parent9c3af50160a00efae37e8a397a046d1c786596f8 (diff)
Merge "Add tox environment for spellcheck"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index a3520183c..d94b1129b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,13 @@ whitelist_externals =
echo
git
-[testenv:docs-linkcheck]
+[testenv:linkcheck]
deps = -r{toxinidir}/etc/requirements.txt
commands = sphinx-build -j 4 -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+
+[testenv:spellcheck]
+deps =
+ -r{toxinidir}/etc/requirements.txt
+ sphinxcontrib-spelling
+commands =
+ sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -Dspelling_word_list_filename=validwords.txt -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spellcheck