Code Review
/
doc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
c940c7e
)
Merge "[DOC] Add python linters for conf.py in tox.ini"
author
Andreas Geissler
<andreas-geissler@telekom.de>
Thu, 18 Feb 2021 15:55:30 +0000
(15:55 +0000)
committer
Gerrit Code Review
<gerrit@onap.org>
Thu, 18 Feb 2021 15:55:30 +0000
(15:55 +0000)
tox.ini
patch
|
blob
|
history
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