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

Take the FORCE_COLOR and NO_COLOR environment variables into account #9128

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
towncrier: 3995.feature
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
stdedos committed Jan 10, 2025
commit 7f38e761ae31d4e5ae8a392e909fe92bc3e363b5
5 changes: 5 additions & 0 deletions doc/whatsnew/fragments/3995.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Support for ``NO_COLOR`` and ``FORCE_COLOR`` (and ``PY_COLORS``, as an alias to ``FORCE_COLOR``) environment variables has been added.
When running `pylint`, the reporter that reports to ``stdout`` will be modified according to the requested mode.
The order is: ``NO_COLOR`` > ``FORCE_COLOR``, ``PY_COLORS`` > ``--output=...``.

Closes #3995 (https://github.com/pylint-dev/pylint/issues/3995).
Pierre-Sassoulas marked this conversation as resolved.
Show resolved Hide resolved