no-self-argument / E0213#

Message emitted:

Method should have "self" as first argument

Description:

Used when a method has an attribute different the "self" as first argument. This is considered as an error since this is a so common convention that you shouldn't break it!

Correct code:

class Fruit:
    def __init__(self, name):
        self.name = name

Problematic code:

class Fruit:
    def __init__(this, name):  # [no-self-argument]
        this.name = name

Created by the classes checker.