Skip to content

Commit 2d55e99

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mypy/fastparse.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,13 @@ def parse_type_string(
319319
"""
320320
try:
321321
try:
322-
_, node = parse_type_comment(expr_string.strip(), line=line, column=column, errors=None)
322+
_, node = parse_type_comment(
323+
expr_string.strip(), line=line, column=column, errors=None
324+
)
323325
except SyntaxError:
324-
_, node = parse_type_comment(f"({expr_string.strip()})", line=line, column=column, errors=None)
326+
_, node = parse_type_comment(
327+
f"({expr_string.strip()})", line=line, column=column, errors=None
328+
)
325329
if isinstance(node, UnboundType) and node.original_str_expr is None:
326330
node.original_str_expr = expr_string
327331
node.original_str_fallback = expr_fallback_name

0 commit comments

Comments
 (0)