-
- Downloads
Correct N804/N805 for __init_subclass__
According to pep 0487, the `__init_subclass__` method is implicitly considered a classmethod. Thus it should be considered as an exception of N804/N805 (first argument should be named self/cls). This is already implemented for `__new__` so extend using the same logic.
Please register or sign in to comment