Skip to content

Conversation

@samueljsb
Copy link
Collaborator

Before this change, the TERM environment variable was set to dumb,
which mypy interprets as being unable to display color. This means
that even the FORCE_COLOR environment variable does not force mypy to
output color.

This change sets the TERM environment variable to allow mypy to output
colors, making the mypy output easier to identify and interpret in CI.

See python/mypy#13817 for more information
about this problem.

Before this change, the `TERM` environment variable was set to `dumb`,
which mypy interprets as being unable to display color. This means
that even the `FORCE_COLOR` environment variable does not force mypy to
output color.

This change sets the `TERM` environment variable to allow mypy to output
colors, making the mypy output easier to identify and interpret in CI.

See python/mypy#13817 for more information
about this problem.
@samueljsb samueljsb closed this Oct 8, 2025
@samueljsb samueljsb deleted the mypy-color-ii branch October 8, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants