We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reveal_type
Feature
Support invoking reveal_type from dmypy (similar to suggest) to enable tooling to use mypy for type information.
suggest
Pitch
libCST is an extremely powerful tool for supporting refactoring Python code, and it has support for type information, but currently only supports Pyre: https://libcst.readthedocs.io/en/latest/_modules/libcst/metadata/type_inference_provider.html#TypeInferenceProvider
Pyre and Mypy result in slightly different type information so I'd prefer to get our type data from mypy itself.
Existing solutions seem pretty janky - https://github.com/fortana-co/sublime-mypy-reveal/blob/master/mypy_reveal.py#L72-L102 modifies the code and invokes reveal_type, https://github.com/matangover/mypy-vscode/blob/master/README.md#caveats imports mypy which isn't well supported.
mypy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature
Support invoking
reveal_type
from dmypy (similar tosuggest
) to enable tooling to use mypy for type information.Pitch
libCST is an extremely powerful tool for supporting refactoring Python code, and it has support for type information, but currently only supports Pyre:
https://libcst.readthedocs.io/en/latest/_modules/libcst/metadata/type_inference_provider.html#TypeInferenceProvider
Pyre and Mypy result in slightly different type information so I'd prefer to get our type data from mypy itself.
Existing solutions seem pretty janky -
https://github.com/fortana-co/sublime-mypy-reveal/blob/master/mypy_reveal.py#L72-L102 modifies the code and invokes
reveal_type
, https://github.com/matangover/mypy-vscode/blob/master/README.md#caveats importsmypy
which isn't well supported.The text was updated successfully, but these errors were encountered: