Skip to content

Commit 3c7c7fc

Browse files
JohnVillalovosnejch
authored andcommitted
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
1 parent 9322db6 commit 3c7c7fc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tox.ini

-6
Original file line numberDiff line numberDiff line change
@@ -28,42 +28,36 @@ commands =
2828

2929
[testenv:black]
3030
basepython = python3
31-
envdir={toxworkdir}/lint
3231
deps = -r{toxinidir}/requirements-lint.txt
3332
commands =
3433
black {posargs} .
3534

3635
[testenv:isort]
3736
basepython = python3
38-
envdir={toxworkdir}/lint
3937
deps = -r{toxinidir}/requirements-lint.txt
4038
commands =
4139
isort {posargs} {toxinidir}
4240

4341
[testenv:mypy]
4442
basepython = python3
45-
envdir={toxworkdir}/lint
4643
deps = -r{toxinidir}/requirements-lint.txt
4744
commands =
4845
mypy {posargs}
4946

5047
[testenv:flake8]
5148
basepython = python3
52-
envdir={toxworkdir}/lint
5349
deps = -r{toxinidir}/requirements-lint.txt
5450
commands =
5551
flake8 {posargs} .
5652

5753
[testenv:pylint]
5854
basepython = python3
59-
envdir={toxworkdir}/lint
6055
deps = -r{toxinidir}/requirements-lint.txt
6156
commands =
6257
pylint {posargs} gitlab/
6358

6459
[testenv:cz]
6560
basepython = python3
66-
envdir={toxworkdir}/lint
6761
deps = -r{toxinidir}/requirements-lint.txt
6862
commands =
6963
cz check --rev-range 65ecadc..HEAD # cz is fast, check from first valid commit

0 commit comments

Comments
 (0)