Skip to content

Commit

Permalink
Typo ;(
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Oct 20, 2018
1 parent 50ca612 commit 9556995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wemake_python_styleguide/visitors/ast/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _check_base_classes_number(self, node: ast.ClassDef) -> None:
"""Check number of base classes."""
if len(node.bases) > self.options.max_base_classes:
self.add_violation(
TooManyBaseClassesViolation(node, ext=node.name),
TooManyBaseClassesViolation(node, text=node.name),
)

def visit_ClassDef(self, node: ast.ClassDef) -> None:
Expand Down

0 comments on commit 9556995

Please sign in to comment.