[DOC] Add python linters for conf.py in tox.ini
[doc.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 4d2b6f7..5807a81 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -37,3 +37,13 @@ deps =
     sphinxcontrib-spelling
 commands =
     sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spellcheck
+
+[testenv:autopep8]
+deps = autopep8
+commands =
+    autopep8 --max-line-length 120 --in-place docs/conf.py
+
+[testenv:pylint]
+deps = pylint
+commands =
+    pylint --max-line-length=120 --disable=missing-docstring --reports=y --score=y  --output-format=colorized docs/conf.py