summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r--pylint/checkers/classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 9f7ea9248..cd3e1178c 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -879,7 +879,7 @@ a metaclass class method.",
if isinstance(ancestor, nodes.ClassDef) and (
decorated_with(ancestor, ["typing.final"])
- or (uninferable_final_decorators(ancestor.decorators))
+ or uninferable_final_decorators(ancestor.decorators)
):
self.add_message(
"subclassed-final-class",