From 18c1bd2c50e5b0454275750376ef6bf4da0f2360 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sat, 13 Nov 2021 22:02:40 +0100 Subject: Remove redundant brackets (#5300) --- pylint/checkers/classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.1