-
-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError with empty command via env #1397
Comments
As for my use case: using |
Running into the same error. using echo as a placeholder, but removing the commands from a base environment would seem logical. |
Feel free to open a PR against master and fix it. My available efforts at the moment are aimed at fixing this as part of #1394, but that probably will take a while (ETA September). |
This now has been fixed with tox 4. |
Given this tox.ini:
tox
fails:Empty commands should be either filtered out before, or skipped when being run - which makes a difference for the counter/index.
It is probably good to see that a command turned out to be empty.
My use case here is injecting a command to uninstall "colorama" for when the "colorama" factor is not used (but pytest installs it as a dependency).
tox 3.13.3.dev16+g0bd5198
The text was updated successfully, but these errors were encountered: