diff options
author | 2021-02-18 15:55:30 +0000 | |
---|---|---|
committer | 2021-02-18 15:55:30 +0000 | |
commit | afe20bb4faae49cc90310e066d4a71c1d4bcb917 (patch) | |
tree | 44dc4f63f0a55e907fbd4c1e5f8fab716da374b3 | |
parent | c940c7e84921b56b92439b4872ab97cc7ccd1b31 (diff) | |
parent | 9015be315dc10c30277bb3c67a67d748b13b3338 (diff) |
Merge "[DOC] Add python linters for conf.py in tox.ini"
-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 |