GH-139862: Remove color from HelpFormatter (#142274)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Savannah Ostrowski 2025-12-05 08:21:31 -08:00 committed by GitHub
parent 100c726d98
commit 4b14529730
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -166,7 +166,6 @@ def __init__(
indent_increment=2,
max_help_position=24,
width=None,
color=True,
):
# default setting for width
if width is None:
@ -174,7 +173,6 @@ def __init__(
width = shutil.get_terminal_size().columns
width -= 2
self._set_color(color)
self._prog = prog
self._indent_increment = indent_increment
self._max_help_position = min(max_help_position,