Skip to content

Commit 8c9600d

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

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

mypyc/irbuild/statement.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import mypy.nodes
1616
import mypy.traverser
17-
from mypy.errorcodes import MYPYC_TRY_FINALLY_AWAIT
1817
from mypy.nodes import (
1918
ARG_NAMED,
2019
ARG_POS,
@@ -757,7 +756,7 @@ def transform_try_stmt(builder: IRBuilder, t: TryStmt) -> None:
757756
"swallowed if a context switch occurs. Ignore with "
758757
"'# type: ignore[mypyc-try-finally-await, unused-ignore]', if you "
759758
"really know what you're doing.",
760-
t.line
759+
t.line,
761760
)
762761

763762
if t.finally_body:
@@ -770,7 +769,9 @@ def transform_try_body() -> None:
770769

771770
body = t.finally_body
772771

773-
transform_try_finally_stmt(builder, transform_try_body, lambda: builder.accept(body), t.line)
772+
transform_try_finally_stmt(
773+
builder, transform_try_body, lambda: builder.accept(body), t.line
774+
)
774775
else:
775776
transform_try_except_stmt(builder, t)
776777

@@ -861,7 +862,7 @@ def finally_body() -> None:
861862
builder,
862863
lambda: transform_try_except(builder, try_body, [(None, None, except_body)], None, line),
863864
finally_body,
864-
line
865+
line,
865866
)
866867

867868

0 commit comments

Comments
 (0)