X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=f15d569b4d40b283924b8213881279ca33342680;hb=a68184cfc46b1f18bd696fc404f1a5e238fb8882;hp=e3908be0205621e7492ca970e47ff86e2f4503c1;hpb=6a7690ab283c6e097818a906f8e33d4771d7e6d9;p=netvirt.git diff --git a/tox.ini b/tox.ini index e3908be020..f15d569b4d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,25 @@ [tox] minversion = 1.6.0 -envlist = docs +envlist = coala,docs,pre-commit skipsdist = true +[testenv:coala] +basepython = python3 +deps = + coala==0.11.0 + coala-bears==0.11.0 + pygments~=2.3.1 + requests~=2.21.0 +commands = + coala --non-interactive + [testenv:docs] -deps = sphinx -commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html +deps = -rdocs/requirements.txt +commands = + sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html + +[testenv:pre-commit] +deps = pre-commit +commands = + pre-commit install --hook-type commit-msg + pre-commit run --all-files