tox: Drop envdir

tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~

According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I1eae8dd5c3d2f4cc40ff8276677c3a90750ac0bc
This commit is contained in:
Takashi Kajinami 2024-02-02 23:53:35 +09:00
parent fd10a99377
commit e6ba9ce054

View File

@ -99,7 +99,6 @@ commands =
commands = bandit -r trove -n5 -x tests
[testenv:bandit-baseline]
envdir = {toxworkdir}/bandit
commands = bandit-baseline -r trove -n5 -x tests -ii -ll
[testenv:genconfig]