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:
parent
fd10a99377
commit
e6ba9ce054
1
tox.ini
1
tox.ini
@ -99,7 +99,6 @@ commands =
|
|||||||
commands = bandit -r trove -n5 -x tests
|
commands = bandit -r trove -n5 -x tests
|
||||||
|
|
||||||
[testenv:bandit-baseline]
|
[testenv:bandit-baseline]
|
||||||
envdir = {toxworkdir}/bandit
|
|
||||||
commands = bandit-baseline -r trove -n5 -x tests -ii -ll
|
commands = bandit-baseline -r trove -n5 -x tests -ii -ll
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user