Mypy: Use plugin to support Zope interfaces

Created on 15 Sep 2017  路  4Comments  路  Source: python/mypy

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

feature topic-plugins topic-protocols

Most helpful comment

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

All 4 comments

This was originally discussed in #1240.

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

@kedder That's fantastic, thank you.

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

Was this page helpful?
0 / 5 - 0 ratings