[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
[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
[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