diff options
author | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-02-17 11:46:10 +0100 |
---|---|---|
committer | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-03-02 08:23:38 +0000 |
commit | 6d868b4580af8ae2d28d96893808c57bc1e713ac (patch) | |
tree | d0b64c9e0daa539fb2bb43015e1de09ad245b696 | |
parent | ef042ea25e6f64abb4c5a01c381ee72ae553345a (diff) |
[DOC] Add python linters for conf.py in tox.ini
and configure them with some project default standards
Issue-ID: DOC-710
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I94505a4db4b64b77dfb37bc4fc041d2e0264c900
(cherry picked from commit 9015be315dc10c30277bb3c67a67d748b13b3338)
-rw-r--r-- | tox.ini | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |