mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
8 lines
285 B
Plaintext
8 lines
285 B
Plaintext
import python
|
|
import semmle.python.dependencies.Dependencies
|
|
|
|
from DependencyKind dk, AstNode src, Object target
|
|
where dk.isADependency(src, target)
|
|
select dk.toString(), src.getLocation().getFile().getShortName(), src.getLocation().getStartLine(),
|
|
src.toString(), target.toString()
|