Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tox should be able to detect interactive tty and alter some options based on this #947
It will be extremely useful if tox would allow users to detect an interactive tty and alter some execution options (like variables).
Example use case: adding
Any CI execution would run without an interactive TTY as this would be present only on developer terminal, a case where we may want to use an interactive debugger.
Now this is achievable using bash with something like
As you can see this is not only inconvenient but also creates more problems when you have multiple environments.