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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for inline annotations from PEP 561 with py.typed but without .pyi #7517

Closed
kiwi0fruit opened this issue Sep 16, 2019 · 2 comments
Closed

Comments

@kiwi0fruit
Copy link

kiwi0fruit commented Sep 16, 2019

From this issue #1190 it isn't clear if inline annotations from PEP 561 with py.typed file but without .pyiare supported by mypy.

If they are supported then please provide instruction what is need to make mypy use them (as I wasn't able to get them working). PyCharm supports them by the way.

If they are not supported then this is the issue to finally support them.

@ilevkivskyi
Copy link
Member

Inline annotations are already supported, but PEP 561 packages must be installed if you want mypy to use them, see these docs and other docs for details.

@kiwi0fruit
Copy link
Author

kiwi0fruit commented Sep 30, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants