False positive instance-method-first-arg-name
when using zope.interface
#380
Labels
bug
Something isn't working
Checklist
Description
When declaring a class that inherits from
zope.interface.Interface
, the suggested refactor is incompatible with the library's behavior.From zope.interface documentation:
Code snippet that reproduces issue
I expect Sourcery to not alert me about this refactoring when examining the Interface declaration - but for any implementer class, it should continue to recommend adding
self
, like so:Debug Information
IDE Version: PyCharm 2023.2 (Professional Edition)
Build #PY-232.8660.197, built on July 26, 2023
Sourcery Version: sourcery.pycharm-plugin (1.7.0)
Operating system and Version: macOS Ventura 13.5 (22G74)
The text was updated successfully, but these errors were encountered: