Skip to content

Commit 6761e28

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1ae0e62 commit 6761e28

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mypy/suggestions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def extract_from_decorator(self, node: Decorator) -> FuncDef | None:
657657
and ct.arg_types[0] == ct.ret_type
658658
):
659659
return None
660-
660+
661661
return node.func
662662

663663
def try_type(self, func: FuncDef, typ: ProperType) -> list[str]:

mypy/test/testcheck.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import re
77
import sys
88

9-
109
from mypy import build
1110
from mypy.build import Graph
1211
from mypy.errors import CompileError

0 commit comments

Comments
 (0)