Skip to content

Commit 72e9791

Browse files
committed
python: format
1 parent 5f438e4 commit 72e9791

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/ql/src/Variables/UninitializedLocal.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import Undefined
1515
import semmle.python.pointsto.PointsTo
1616

1717
predicate uninitialized_local(NameNode use) {
18-
exists(FastLocalVariable local | use.uses(local) or use.deletes(local) | not local.escapes() and not local = any(Nonlocal nl).getAVariable()) and
18+
exists(FastLocalVariable local | use.uses(local) or use.deletes(local) |
19+
not local.escapes() and not local = any(Nonlocal nl).getAVariable()
20+
) and
1921
(
2022
any(Uninitialized uninit).taints(use) and
2123
PointsToInternal::reachableBlock(use.getBasicBlock(), _)

0 commit comments

Comments
 (0)