Forbid incorrect __slots__
names
#696
Labels
help wanted
Extra attention is needed
level:starter
Good for newcomers
rule request
Adding a new rule
Milestone
Rule request
Thesis
We need to lint names in slots. Rules are:
snake_case
) we can reuse logic frompep8-naming
Reasoning
Otherwise names defined in
__slots__
will be incorrect and will result in incorrect objects.This is OOP rule
The text was updated successfully, but these errors were encountered: