Skip to content

Commit

Permalink
Documentation for pylint-dev#3995
Browse files Browse the repository at this point in the history
Signed-off-by: Stavros Ntentos <[email protected]>
  • Loading branch information
stdedos committed Oct 7, 2023
1 parent 9441268 commit a92686d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/user_guide/usage/output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ a colorized report to stdout at the same time:

--output-format=json:somefile.json,colorized

Environment Variables
''''''''''''''''''''''''''''
The colorization of the output can also be controlled through environment
variables. The precedence for determining output format is as follows:

1. ``NO_COLOR``
2. ``FORCE_COLOR``, or ``PY_COLORS``
3. ``--output-format=...``

Setting ``NO_COLOR`` (to any value) will disable colorized output, while
``FORCE_COLOR`` or ``PY_COLORS`` (to any value) will enable it, overriding
the ``--output-format`` option if specified.


Custom message formats
''''''''''''''''''''''
Expand Down

0 comments on commit a92686d

Please sign in to comment.