diff options
author | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-02-17 11:46:10 +0100 |
---|---|---|
committer | Guillaume Lambert <guillaume.lambert@orange.com> | 2021-02-17 11:53:54 +0100 |
commit | 9015be315dc10c30277bb3c67a67d748b13b3338 (patch) | |
tree | 39b7c2bd627f2d6642ca49df6c3557a53b5b6842 | |
parent | 01918451fdc20a2c83543113649e16f3d0a211e1 (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
-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 |