mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
QL tests for Python queries and libraries.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import python
|
||||
|
||||
from Scope s, int n
|
||||
where exists(Function f | f = s | n = f.getMetrics().getNumberOfLines()) or
|
||||
exists(Module m | m = s | n = m.getMetrics().getNumberOfLines())
|
||||
select s.toString(), n
|
||||
|
||||
Reference in New Issue
Block a user