Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 4, 2024
1 parent a07fc64 commit b527250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b527250

Please sign in to comment.