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

Comments

4 participants
@pytoxbot

pytoxbot commented Sep 17, 2016

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

This comment has been minimized.

pytoxbot commented Sep 17, 2016

Original comment by @hpk42

Could you submit a pull request for the doc addition?

@obestwalter obestwalter added this to triage in Documentation Mar 10, 2017

@obestwalter obestwalter moved this from triage to ready in Documentation Sep 7, 2017

@gaborbernat gaborbernat self-assigned this Sep 13, 2018

@gaborbernat gaborbernat added this to the 3.5 milestone Sep 18, 2018

@helpr helpr bot added the pr-available label Sep 20, 2018

@helpr helpr bot added pr-merged and removed pr-available labels Sep 21, 2018

@hashar

This comment has been minimized.

hashar commented Sep 21, 2018

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

@obestwalter obestwalter moved this from ready to done in Documentation Oct 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment