Skip to content

Commit

Permalink
Add overridden-final-method to check_messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyrnepr2 committed Apr 1, 2022
1 parent d11b0c8 commit 103cd53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pylint/checkers/classes/class_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ def _check_attribute_defined_outside_init(self, cnode: nodes.ClassDef) -> None:
"attribute-defined-outside-init", args=attr, node=node
)

@check_messages("overridden-final-method")
def visit_functiondef(self, node: nodes.FunctionDef) -> None:
"""Check method arguments, overriding."""
# ignore actual functions
Expand Down

0 comments on commit 103cd53

Please sign in to comment.