Python: Use `import python` consistently in all queries. · github/codeql@118275e · GitHub
Skip to content

Commit 118275e

Browse files
committed
Python: Use import python consistently in all queries.
1 parent 18e1708 commit 118275e

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎python/ql/src/Filters/NotGenerated.ql‎

Lines changed: 1 addition & 0 deletions

‎python/ql/src/Filters/NotTest.ql‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @kind file-classifier
55
* @id py/not-test-file-filter
66
*/
7+
import python
78
import external.DefectFilter
89
import semmle.python.filters.Tests
910

‎python/ql/src/Security/CWE-798/HardcodedCredentials.ql‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* external/cwe/cwe-798
1212
*/
1313

14+
import python
1415
import semmle.python.security.TaintTracking
1516
import semmle.python.filters.Tests
1617

‎python/ql/src/external/DuplicateBlock.ql‎

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)