Aliases for commands to run in an environment? #3150
-
A project I work with has a tox.ini with multiple environments defined that have (or could have) the same dependencies. For example, test, lint, and docs. Is there any way to define multiple commands that can be called separately on one environment? For example, run tests, run lint, or build docs. If not, I think that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You can use lables https://tox.wiki/en/4.11.3/config.html#labels see https://tox.wiki/en/4.11.3/cli_interface.html#tox-run--m |
Beta Was this translation helpful? Give feedback.
Purposely we do not support a shared environment. This is something you could achieve with a plugin, but we do not want to tackle that problem within the core environment.