Support for parameter expansion in --override #3171
Labels
enhancement
help:wanted
Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
What's the problem this feature will solve?
Configuration values cannot be overridden (via
-x/--override
orTOX_OVERRIDE
) without losing the ability to use positional arguments in the value.For example:
tox -x "testenv.commands=poetry run pylint {posargs}" --
Describe the solution you'd like
Value substitution should be performed after overrides have been applied to the configuration.
Alternative Solutions
Positional arguments can be put into the override value directly, but only if they are known in advance. An example of a tool that cannot interpolate arguments into the override value is pre-commit.
Bash could also be used to create the override value, but this requires more setup for Windows development.
The text was updated successfully, but these errors were encountered: