Skip to content

Commit d781dde

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,10 +1551,10 @@ def check_tagged_short_int(self, val: Value, line: int, negated: bool = False) -
15511551

15521552
def compare_strings(self, lhs: Value, rhs: Value, op: str, line: int) -> Value:
15531553
"""Compare two strings"""
1554-
1554+
15551555
def is_string_literal(value: Value) -> bool:
15561556
return isinstance(value, LoadLiteral) and is_str_rprimitive(value.type)
1557-
1557+
15581558
if op == "==":
15591559
if is_string_literal(lhs):
15601560
if is_string_literal(rhs):

0 commit comments

Comments
 (0)