-
-
Notifications
You must be signed in to change notification settings - Fork 541
Description
What's the problem this feature will solve?
--override
option is nice for changes, but currently it only replaces the config file option. But multiple options are list-like and it would be much better to have an option to append to the list without a need to copy the whole contents.
Describe the solution you'd like
I'd like to have an option to provide additions to the config lists, such as deps
, passenv
, setenv
, etc.
Example
I'd like to add ipdb
to the testenv to debug the problem like tox --override testenv.deps=ipdb run -e py310
, but it also drops all the deps
from the testenv config and tests crashes completely unless I explicitly set deps
to all current deps
and the ipdb
.
Also I'd like to be able to pass such option to user level config so I can have it in all testenvs.
Alternative Solutions
I have working plugin https://pypi.org/project/tox-ipdb-plugin/ for the tox3, but it seems it can almost be replaced only by a user config. And separate plugin would be needed if other changes would be needed.