Related to #139946 (comment), we should improve argparse documentation to clarify the order of precedence of controlling color by expanding this section a bit https://docs.python.org/3/library/argparse.html#color.
Some notes to get started:
- Environment variables take precedence over color=True, but color=False takes precedence.
- Users can control global color settings via NO_COLOR or FORCE_COLOR etc.
Linked PRs
Related to #139946 (comment), we should improve argparse documentation to clarify the order of precedence of controlling color by expanding this section a bit https://docs.python.org/3/library/argparse.html#color.
Some notes to get started:
Linked PRs
argparsedocumentation about controlling color #140737argparsedocumentation about controlling color (GH-140737) #140932