I'm working on a plugin for PyCharm to make using zope.interface easier, but have hit a bit of a snag. There are two main changes needed. The first is to find all subclasses of zope.interface.Interface, disable auto-entering the first parameter (self), and disabling the 'Methods having troubles with first parameter' inspection on the subclasses.
Second is to find all classes which are decorated by a call to zope.interface.implements and ensure they implement the referenced interface.
I'm fairly certain I can find the subclasses already, but I'm not sure how to disable the inspection specifically for them. I have no idea how to find calls to zope.interface.implements, especially considering the variety of ways it could be imported. Once I have the interface class, writing the inspection should be fairly simple. Anyway, I'd appreciate any pointers on where to start, or if there is pycharm-specific plugin documentation available, a link to that.