I have a Python class that raises "NotImplementedError" for a couple of methods and the class is inherited by a few other classes which are defined in their own files.
When I run Pylint on the file that has the abstract class, it always complains "Abstract class not referenced". I was wondering is it just Pylint being paranoid or there's actually something I do need to fix?
If you have in your class a method raising a NotImplementedError
it is enough to make pylint think this is an abstract class.
As pylint check each file isolated from the rest of the project, if no one inherit from this class in the file it will raise this message.
If you want to desactivate it you'll have to put this comment before your class definition :
#pylint: disable=R0921