diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-11-13 22:02:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 22:02:40 +0100 |
commit | 18c1bd2c50e5b0454275750376ef6bf4da0f2360 (patch) | |
tree | 31c7ee6905fa48900a862ec04df11bfaa4fb29fd | |
parent | 3c6f5cfd83a0360d2263046131a6e89bd26dfad0 (diff) | |
download | pylint-git-18c1bd2c50e5b0454275750376ef6bf4da0f2360.tar.gz |
Remove redundant brackets (#5300)
-rw-r--r-- | pylint/checkers/classes.py | 2 |
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", |