Negated factor conditions. #292
Comments
Original comment by @hynek For the record, since Twisted dropped Python 2.6, I was sorely missing a way to say |
Original comment by @schinckel FWIW, the syntax @pjdelport describes is documented at http://tox.readthedocs.io/en/latest/config-v2.html#transforming-the-examples-django-rest : I actually assumed it was possible to use this already. |
Original comment by @pjdelport An implementation of issue #189 might provide another solution to this, by allowing the above to be expressed as a factor-based [testenv:cov]
commands =
coverage run ... runtests.py
coveralls |
Original comment by @pjdelport This would be very handy: I just came here to report exactly the same issue, for the same use case. Would a PR implementing the |
Added pull request jurko-gospodnetic#1 for discussion. Not added to this repo as it's based on still unmerged test cleanup pull request #687, but I'll recreate it here as soon as that one is merged. For now you can test it on that repo and leave the comments there. |
Pull request #694 on this repo now up for discussion and the original one closed. |
I'd like to do something like:
Currently I have to declare factor conditions for
cov
andnocov
instead, which means users must always specific eithercov
ornocov
withtox -e
. If they forget,tox
just reports success without running any command:The text was updated successfully, but these errors were encountered: