Skip to content

can a group of dependencies be excluded by tox for a specific task? #2542

Answered by jugmac00
allynt asked this question in Q&A
Discussion options

You must be logged in to vote

Afaik not with tox 3, but with the upcoming version 4 you can use labels, and then group environments.

https://tox.wiki/en/rewrite/config.html#labels

Still, it won't have a mechanism for exclusion, but rather one for inclusion.

So you could then run tox -m all-but-docs.

Please note, there is no ETA for tox 4 yet.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@allynt
Comment options

Answer selected by jugmac00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants