X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=0bce156ffe23efd391c7204678bb433359d9e4ea;hb=d08c5bf209fdf1785a6686d148271a9159148331;hp=bf47e3e0e3f52880c82deef646e48781f9de6af3;hpb=30a4c3cc962489798af3c74eb63ebf0624c7db22;p=releng%2Fbuilder.git diff --git a/tox.ini b/tox.ini index bf47e3e0e..0bce156ff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,19 +1,8 @@ [tox] minversion = 1.6 -envlist = coala,docs,jjb-version,pre-commit,prefix,robot +envlist = docs,jjb-version,pre-commit,prefix,robot skipsdist = true -[testenv:coala] -basepython = python3 -deps = - coala==0.11 - coala-bears==0.11 - nodeenv -commands = - nodeenv -p - npm install --global write-good - coala --non-interactive - [testenv:docs] deps = -rdocs/requirements.txt commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html @@ -29,7 +18,7 @@ commands = python {toxinidir}/check_jjb_version.py [testenv:pre-commit] basepython = python3 -deps = pre-commit +deps = pre-commit==2.9.3 commands = pre-commit install --hook-type commit-msg pre-commit run --all-files --show-diff-on-failure @@ -41,3 +30,12 @@ commands = python {toxinidir}/check_prefix.py [testenv:robot] basepython = python3 commands = python {toxinidir}/check_robot.py + +[testenv:cut-branch-jobs] +basepython = python3 +deps = + pre-commit + ruamel.yaml +commands = + python scripts/cut-branch-jobs.py {posargs:--help} {toxinidir}/jjb + - pre-commit run --all-files prettier