add a documentation spellchecker tox profile
[transportpce.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 24165a59d25142ae21e89ecdf9fd73eb14bdf51e..f365a14dfe31b1048323baca03848ea1dc614924 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -76,6 +76,14 @@ basepython = python3
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ../docs/ {toxinidir}/docs/_build/linkcheck
 
+[testenv:spelling]
+basepython = python3
+deps =
+    -rdocs/requirements.txt
+    sphinxcontrib-spelling
+    PyEnchant
+commands = sphinx-build -b spelling  -d {envtmpdir}/doctrees ../docs/ {toxinidir}/docs/_build/spelling
+
 [testenv:autopep8]
 basepython = python3
 deps = autopep8