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

Use plugin to support Zope interfaces #3960

Closed
wsanchez opened this issue Sep 15, 2017 · 7 comments
Closed

Use plugin to support Zope interfaces #3960

wsanchez opened this issue Sep 15, 2017 · 7 comments
Labels
feature topic-plugins The plugin API and ideas for new plugins topic-protocols

Comments

@wsanchez
Copy link

wsanchez commented Sep 15, 2017

Subclasses of zope.interface.Interface have special semantics and need to be handled via a plugin.

Edit: resolution from ichard26

Closing as a plugin for Zope interfaces is better suited to live as its own package on PyPI and one already exists.

@wsanchez
Copy link
Author

This was originally discussed in #1240.

@kedder
Copy link

kedder commented Jan 6, 2019

I started a mypy plugin for zope.interface and zope.schema here: https://github.com/Shoobx/mypy-zope.

@wsanchez
Copy link
Author

wsanchez commented Jan 7, 2019

@kedder That's fantastic, thank you.

@glyph
Copy link

glyph commented Feb 21, 2019

@kedder Wow. This is amazing. I can't wait to try it out!

@ichard26
Copy link
Collaborator

Closing as a plugin for Zope interfaces is better suited to live as its own package on PyPI and one already exists. While it would be nice if the main mypy package could contain plugins for many popular third-party libraries, that would be unsustainable.

Thanks for opening an issue! It's good to have a place to redirect people looking for mypy support for Zope.

@glyph
Copy link

glyph commented Aug 22, 2023

@ichard26 (or @wsanchez) it might be good to update the description to include this resolution so that folks searching for this will find the link faster

@ichard26
Copy link
Collaborator

Unfortunately, I don't have sufficient permissions to do that :(

@hauntsaninja could you update the description? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature topic-plugins The plugin API and ideas for new plugins topic-protocols
Projects
None yet
Development

No branches or pull requests

5 participants