X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=3f2334b99a4949974e300e80efda64d0944d2859;hb=47bc89f98923695ccd8557b80f9820915ad5bfc5;hp=ee12e8ea750cc4a09155fb84d7ede57cc393d276;hpb=a2e4db80cda383322294b669f6a9713b86273030;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index ee12e8ea7..3f2334b99 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,21 @@ [tox] minversion = 1.6 -envlist = docs +envlist = coala,docs,pep8 skipsdist = true +[testenv:coala] +basepython = python3 +deps = + coala + coala-bears +commands = + python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger + coala --non-interactive + [testenv:docs] deps = sphinx -commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html +commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + +[testenv:pep8] +deps = flake8 +commands = flake8 scripts/