tox and pytest look at PY_COLORS: https://github.com/tox-dev/tox/blob/9cc692d85c9ce84344ea7fee4b127755c6099a32/src/tox/session/commands/help.py https://docs.pytest.org/en/6.2.x/reference.html#envvar-PY_COLORS
On Tue, 18 Jan 2022 at 21:17, Ethan Furman <et...@stoneleaf.us> wrote: > On 1/18/22 11:59 AM, Pablo Galindo Salgado wrote: > > > We considered using colours and other markers such as bold text, but > that opens a considerable can of worms with > > detecting in all systems and configurations if that can be done. I have > been told that some of these situations are > > quite tricky and is not as easy as checking for tty support. > > Maybe use an environment variable? > > -- > ~Ethan~ > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/TRI25YRCTJSDQKERZM2DHCWOMGXHQA3M/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/TH5HN7SKS6FV4QGB44IBN66VNHLLDMQ6/ Code of Conduct: http://python.org/psf/codeofconduct/