Skip to content

Commit

Permalink
chores: fix tox.ini (#414)
Browse files Browse the repository at this point in the history
The `envdir` is not suppose to use it that way, and it's no longer
supported in tox > 4.
  • Loading branch information
chanchiwai-ray authored May 23, 2024
1 parent f02469d commit 397cf32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ setenv =
TEST_PYTHON_PACKAGE={envdir}

[testenv:dev-environment]
envdir = {toxinidir}/.venv
deps =
pre-commit
{[testenv:lint]deps}
Expand All @@ -24,7 +23,6 @@ commands =
pre-commit install

[testenv:pre-commit]
envdir = {[testenv:dev-environment]envdir}
deps = {[testenv:dev-environment]deps} # ensure that dev-environment is installed
commands = pre-commit run --all-files

Expand All @@ -42,7 +40,6 @@ deps =
{[testenv:func]deps}

[testenv:reformat]
envdir = {toxworkdir}/lint
deps = {[testenv:lint]deps}
commands =
black .
Expand Down

0 comments on commit 397cf32

Please sign in to comment.