Python: Autoformat everything

Of course, `StringLiteral` being much longer than `StrConst` meant a
bunch of files changed formatting.
This commit is contained in:
Taus
2024-04-17 16:09:45 +00:00
parent 1c68c987b0
commit b484aee39e
10 changed files with 56 additions and 18 deletions

View File

@@ -88,7 +88,9 @@ module ServerSideRequestForgery {
exists(BinaryExprNode add |
add.getOp() instanceof Add and
add.getRight() = this.asCfgNode() and
not add.getLeft().getNode().(StringLiteral).getText().toLowerCase() in ["http://", "https://"]
not add.getLeft().getNode().(StringLiteral).getText().toLowerCase() in [
"http://", "https://"
]
)
or
// % formatting