summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2023-01-20 17:00:28 -0800
committerNejc Habjan <hab.nejc@gmail.com>2023-01-23 13:44:40 +0100
commit3c7c7fc9d2375d3219fb078e18277d7476bae5e0 (patch)
tree68c505e229e7bdbfec0892297e49d2e94b3dbb64
parent9322db663ecdaecf399e3192810d973c6a9a4020 (diff)
downloadgitlab-3c7c7fc9d2375d3219fb078e18277d7476bae5e0.tar.gz
chore: remove tox `envdir` values
tox > 4 no longer will re-use the tox directory :( What this means is that with the previous config if you ran: $ tox -e mypy; tox -e isort; tox -e mypy It would recreate the tox environment each time :( By removing the `envdir` values it will have the tox environments in separate directories and not recreate them. The have an FAQ entry about this: https://tox.wiki/en/latest/upgrading.html#re-use-of-environments
-rw-r--r--tox.ini6
1 files changed, 0 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index a76beab..9fbf547 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,42 +28,36 @@ commands =
[testenv:black]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
black {posargs} .
[testenv:isort]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
isort {posargs} {toxinidir}
[testenv:mypy]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
mypy {posargs}
[testenv:flake8]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
flake8 {posargs} .
[testenv:pylint]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
pylint {posargs} gitlab/
[testenv:cz]
basepython = python3
-envdir={toxworkdir}/lint
deps = -r{toxinidir}/requirements-lint.txt
commands =
cz check --rev-range 65ecadc..HEAD # cz is fast, check from first valid commit