Replies: 1 comment 1 reply
-
No, there's currently no configuration option for this. Adding such an option is possible, but I'd want to see a signal from other pyright users (e.g. upvotes on this thread) to justify such an addition. Out of curiosity, why do you want this functionality? If you're using an editor with language server capabilities, you can use the "Go To Type Definition" command to take you to the type declaration. That's the approach I take in the rare case where it's not clear to me from the |
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
-
Is there any way to configure pyright so that
reveal_type
always includes the full import path information of a type?E.g. if I do
the revealed type is
type[Builds[type[int]]]
, but it ishydra_zen.typing.Builds
, not the locally-definedBuilds
.I realize that
reveal_type
is not really part of the public API, so I totally understand if there's just no way to change the behavior here.Beta Was this translation helpful? Give feedback.
All reactions