Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mypy for type resolving..? 馃 #132

Open
felix-hilden opened this issue Jan 27, 2023 · 2 comments
Open

Use mypy for type resolving..? 馃 #132

felix-hilden opened this issue Jan 27, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@felix-hilden
Copy link
Owner

Wild idea... could we use mypy for resolving types in code examples? It is static analysis after all, and very comprehensive. I wonder if there is mypy internal we could use instead of parsing ourselves.

@felix-hilden felix-hilden added enhancement New feature or request help wanted Extra attention is needed labels Jan 27, 2023
@jakkdl
Copy link

jakkdl commented May 15, 2024

I explored various ways of doing this for libcst: Instagram/LibCST#947
there are ways of achieving it, but nothing that's super clean.

@felix-hilden
Copy link
Owner Author

Interesting, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants