Skip to content

Commit d470c50

Browse files
lint
1 parent b49dfda commit d470c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/irbuild/constant_fold.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
Var,
2828
)
2929
from mypyc.irbuild.util import bytes_from_str
30+
3031
if TYPE_CHECKING:
3132
from mypyc.irbuild.builder import IRBuilder
3233

@@ -35,7 +36,7 @@
3536
CONST_TYPES: Final = (int, float, complex, str, bytes)
3637

3738

38-
def constant_fold_expr(builder: "IRBuilder", expr: Expression) -> ConstantValue | None:
39+
def constant_fold_expr(builder: IRBuilder, expr: Expression) -> ConstantValue | None:
3940
"""Return the constant value of an expression for supported operations.
4041
4142
Return None otherwise.

0 commit comments

Comments
 (0)