Skip to content
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

Document PY_COLORS to enforce color output #163

Closed
pytoxbot opened this issue Sep 17, 2016 · 2 comments
Closed

Document PY_COLORS to enforce color output #163

pytoxbot opened this issue Sep 17, 2016 · 2 comments

Comments

@pytoxbot
Copy link

While integrating a tox based job in Jenkins (which has a dumb terminal) I was looking for a way to force color output.
Looking at _py/terminalwriter.py , it looks up the environment variable PY_COLORS. A value of 1 would enforce color, a value of 0 would disable color. The global override the TERM value.

It would be nice to have PY_COLORS documented in the tox documentation.

py-trunk doc update request is: https://bitbucket.org/hpk42/py-trunk/issue/138/py_colors-env-is-undocumented

@pytoxbot
Copy link
Author

Original comment by @hpk42

Could you submit a pull request for the doc addition?

@hashar
Copy link
Contributor

hashar commented Sep 21, 2018

Thank you @gaborbernat I had completely forgot/missed this issue :]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants