From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82206158013 for ; Mon, 11 Dec 2023 20:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 284CF2BC05C; Mon, 11 Dec 2023 20:38:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2DBA2BC03D for ; Mon, 11 Dec 2023 20:38:23 +0000 (UTC) From: Ulrich Mueller To: Eli Schwartz Cc: gentoo-dev@lists.gentoo.org, =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Subject: Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: epytest, use NO_COLOR rather than NOCOLOR In-Reply-To: <24d59a88-071d-49ce-9376-9a3193b27693@gmail.com> (Eli Schwartz's message of "Mon, 11 Dec 2023 15:21:29 -0500") References: <20231202124443.244613-1-mgorny@gentoo.org> <4c6f48a8-ba55-4ae4-b4fa-ebbaae95c155@gmail.com> <24d59a88-071d-49ce-9376-9a3193b27693@gmail.com> Date: Mon, 11 Dec 2023 21:38:14 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 78444c40-e76d-416d-a1ea-c743bd8b1046 X-Archives-Hash: dd0353875136ace2c4dab59be677fa37 --=-=-= Content-Type: text/plain >>>>> On Mon, 11 Dec 2023, Eli Schwartz wrote: >> "Command-line software which adds ANSI color to its output by default >> should check for a NO_COLOR environment variable that, when present >> and not an empty string (regardless of its value), prevents the >> addition of ANSI color." -- https://no-color.org/ > Again, not according to pytest itself. ;) > Given the commit message says: > """ > Adjust it to correctly check whether it is set at all rather than to a > specific value, to match the behavior of pytest itself. > """ The standard is defined by sno-color.org. If pytest does something different then it is a bug. Ulrich --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmV3czYPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4uBBMIAJWTC5MErLG2wMBBk7v7C85bL3pLhazoDIhf Tfg0I82RkCQnZFlRrbPxSj/KZ3B5XRbXJ2P8weLR7l+wQmZhWv308NBHCG3ERqBo 2X7hln2lKowYmrJGwxwvHAnKTY5QiokAOFJ9LQmp9Yfi7WQaTjiver/ok163trPb UTc/qB/uegsp+yqwI/RM0uZClZQdCB+D3UCh1ndu4ipaDNgp9jLtDb+jny3ZdwNG tW2A9SmmPuntKKld66grDP4gLmA1oycF7/ZoZhwuWngmlQe1joNJKvGnUmMSuMGp V4KXYr3nlZj933ZxWB2mUD5+kJZuoDdrRUehZyQolcYGSILrxJg= =MLzs -----END PGP SIGNATURE----- --=-=-=--