Skip to content

Commit 7cd9369

Browse files
authored
Python: Autoformat
1 parent 33a9f86 commit 7cd9369

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/ImportStar.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ module ImportStar {
2121
/** Holds if `n` refers to a variable that is defined in the module in which it occurs. */
2222
private predicate isDefinedLocally(NameNode n) {
2323
// Defined in an enclosing scope
24-
exists(LocalVariable v | v.getId() = n.getId() and v.getScope() = n.getScope().getEnclosingScope*())
24+
exists(LocalVariable v |
25+
v.getId() = n.getId() and v.getScope() = n.getScope().getEnclosingScope*()
26+
)
2527
or
2628
// Defined as a built-in
2729
n.getId() = Builtins::getBuiltinName()

0 commit comments

Comments
 (0)