PY_COLORS env is undocumented

Issue #138 new
Antoine Musso
created an issue

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.

Would be nice to have PY_COLORS documented.

Comments (1)

  1. Log in to comment