Skip to content

typing_extensions.reveal_type() is completely ignored #1952

@abelcheung

Description

@abelcheung

I have a stub project that depends on reveal_type() functionality. While there's no problem when python-version is set to 3.11 or above, no output is printed for 3.10 or below for all output formats, leading me to suspect pyrefly only honors typing.reveal_type().

So I wonder if typing_extensions.reveal_type can be whitelisted, so that at least pyrefly can be brought on par with mypy, pyright and ty regarding this issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions