Derived from the Pylint linter.
This rule is unstable and in preview. The
--preview flag is required for use.
What it does#
Checks for the presence of unused
self parameter in methods definitions.
Why is this bad?#
self parameters are usually a sign of a method that could be
replaced by a function, class method, or static method.