mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Make test/Filter query more robust
Since if you had tornado installed, we would follow imports and have results from those files as well :|
This commit is contained in:
@@ -2,4 +2,5 @@ import python
|
||||
import semmle.python.filters.Tests
|
||||
|
||||
from TestScope t
|
||||
where exists(t.getLocation().getFile().getRelativePath())
|
||||
select t
|
||||
|
||||
Reference in New Issue
Block a user