"Class ... must implement all abstract methods" inspection

I'm getting the message "Class ... must implement all abstract methods" in a mixin that descends from an abstract class. What I don't understand is why, since the mixin is not instantiated on its own. In the classes that use the mixin, the abstract methods are overridden and made concrete.

The code works fine, but I don't understand the point of the message. Is Pycharm expecting me to signal that this is an abstract class somehow?
2 comments
Comment actions Permalink

Also happens with a non-mixin abstract subclass, which already inherits the metaclass `abc.ABCMeta`.

0
Comment actions Permalink

Hello, 

 

there a couple of bugs regarding this, please see: 

https://youtrack.jetbrains.com/issue/PY-38680

https://youtrack.jetbrains.com/issue/PY-19236

https://youtrack.jetbrains.com/issue/PY-33680

 

Feel free to vote for them, if the case is more specific please provide me with a simplified code example for investigation. 

 

Sorry for the inconvenience. 

0

Please sign in to leave a comment.