X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=736f1298151e4b181f168aaa0044c3f1ebd061af;hb=885f0fcc9dfe97a8aecf9b18cb09652dc733cc4a;hp=efaf6da929e6c327a073d48a6e7c8a9ff260109b;hpb=b2eebc50a333738904e3835100f38dd438ddb165;p=transportpce.git diff --git a/tox.ini b/tox.ini index efaf6da92..736f12981 100644 --- a/tox.ini +++ b/tox.ini @@ -63,3 +63,15 @@ basepython = python3 deps = -rdocs/requirements.txt commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ../docs/ {toxinidir}/docs/_build/linkcheck +[testenv:autopep8] +basepython = python3 +deps = autopep8 +commands = + autopep8 --max-line-length 120 --in-place --recursive transportpce_tests/ + +[testenv:pylint] +basepython = python3 +deps = pylint +whitelist_externals = find +commands = + find transportpce_tests/ -name *.py -exec pylint --max-line-length=120 --disable=missing-docstring --reports=y --score=y --output-format=colorized \{\} +