Replies: 2 comments 1 reply
-
Pyright doesn't do anything differently. It's possible that the library it uses for emitting color commands (chalk) does. Looking at its documentation, it appears that it does perform some form of "color support detection". Pyright doesn't offer a way to override this detection. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Amazing, thank you so much for the reference. Env var |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I run pyright locally on my machine I see colored output which is great.
When I run it on our remote build / test cluster (bazel RBE) I don't get any colors from it.
I assume there is some logic to avoid emitting them when pyright detects that there is no tty attached?
Is there a way to force the color emission?
Beta Was this translation helpful? Give feedback.
All reactions