-
so this is the list of pyright diagnostics while
settings |
Beta Was this translation helpful? Give feedback.
Answered by
erictraut
Jan 11, 2025
Replies: 1 comment 2 replies
-
2 is error, 1 is hint. and idk how to disable pyright hints. is it possible? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you run pyright from the command line, it never emits "tagged hints". Tagged hints are emitted only in "language server" mode and only if the editor says that it supports that tag. When an editor receives such a hint, it should display the range as slightly "dimmed" as a subtle hint that the symbol is unused. Some editors unfortunately claim to support these hints but then display them as regular diagnostics. If you're using such an editor, you can tell pyright to not emit any tagged hints by setting
pyright.disableTaggedHints
to true in your language server configuration.