Skip to content

Commit 3e53e46

Browse files
committed
changes indents to 4
1 parent 2fa20eb commit 3e53e46

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

python/ql/src/Expressions/ExpectedMappingForFormatString.ql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ import semmle.python.strings
1515

1616
from Expr e, ClassValue t
1717
where
18-
exists(BinaryExpr b |
19-
b.getOp() instanceof Mod and
20-
format_string(b.getLeft()) and
21-
e = b.getRight() and
22-
mapping_format(b.getLeft()) and
23-
e.pointsTo().getClass() = t and
24-
not t.isMapping()
25-
)
18+
exists(BinaryExpr b |
19+
b.getOp() instanceof Mod and
20+
format_string(b.getLeft()) and
21+
e = b.getRight() and
22+
mapping_format(b.getLeft()) and
23+
e.pointsTo().getClass() = t and
24+
not t.isMapping()
25+
)
2626
select e, "Right hand side of a % operator must be a mapping, not class $@.", t, t.getName()

0 commit comments

Comments
 (0)