From b527250929d3a9b0badb852058feac39d9d3cb29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 4 Jul 2024 20:26:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- mypy/checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/checker.py b/mypy/checker.py index 6d00ac822b97..8b7cd7b4f965 100644 --- a/mypy/checker.py +++ b/mypy/checker.py @@ -7563,7 +7563,7 @@ def get_deprecation_warning( overload = False deprecation = None for decorator in decorators: - if (isinstance(decorator, NameExpr) and (decorator.fullname in OVERLOAD_NAMES)): + if isinstance(decorator, NameExpr) and (decorator.fullname in OVERLOAD_NAMES): overload = True if deprecation is not None: self.msg.note("@overload should be placed before @deprecated", decorator)