mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Remove Python query tests for Architect
These tests referred to QL libraries for a discontinued Semmle product.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
| standard/python/attribute | Module a | Class B | Attribute |
|
||||
| standard/python/attribute | Module b | Class C | Attribute |
|
||||
| standard/python/import | Module a | Module b | Import |
|
||||
| standard/python/import | Module b | Module c | Import |
|
||||
| standard/python/import | Module c | Module b | Import |
|
||||
| standard/python/inheritance | Class A | Class B | ClassExpr |
|
||||
| standard/python/inheritance | Class A | Class C | ClassExpr |
|
||||
| standard/python/inheritance | Class B | Class C | ClassExpr |
|
||||
| standard/python/use | Module a | Class B | Attribute |
|
||||
| standard/python/use | Module b | Class C | Attribute |
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
import python
|
||||
import Architect.Common.DependencyCategory
|
||||
import Architect.Architect
|
||||
|
||||
from DependencyCategory dk, DependencyElement source, DependencyElement target, DependencyElement cause
|
||||
where dk.isADependency(source, target, cause)
|
||||
select dk.toString(), source.toString(), target.toString(), cause.toString()
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
| standard/python/attribute |
|
||||
| standard/python/import |
|
||||
| standard/python/inheritance |
|
||||
| standard/python/use |
|
||||
@@ -1,13 +0,0 @@
|
||||
/**
|
||||
* @name Categories
|
||||
* @description Insert description here...
|
||||
* @kind table
|
||||
* @problem.severity warning
|
||||
*/
|
||||
|
||||
import python
|
||||
import Architect.Common.DependencyCategory
|
||||
import Architect.Architect
|
||||
|
||||
from DependencyCategory dk
|
||||
select dk
|
||||
@@ -1,16 +0,0 @@
|
||||
| attribute | a.py | 3 | Attribute | class B |
|
||||
| attribute | b.py | 3 | Attribute | class C |
|
||||
| import | a.py | 1 | Import | Module b |
|
||||
| import | b.py | 1 | Import | Module c |
|
||||
| import | c.py | 1 | Import | Module b |
|
||||
| inheritance | a.py | 3 | ClassExpr | builtin-class object |
|
||||
| inheritance | a.py | 3 | ClassExpr | builtin-class type |
|
||||
| inheritance | a.py | 3 | ClassExpr | class B |
|
||||
| inheritance | a.py | 3 | ClassExpr | class C |
|
||||
| inheritance | b.py | 3 | ClassExpr | builtin-class object |
|
||||
| inheritance | b.py | 3 | ClassExpr | builtin-class type |
|
||||
| inheritance | b.py | 3 | ClassExpr | class C |
|
||||
| inheritance | c.py | 3 | ClassExpr | builtin-class object |
|
||||
| inheritance | c.py | 3 | ClassExpr | builtin-class type |
|
||||
| use | a.py | 3 | Attribute | class B |
|
||||
| use | b.py | 3 | Attribute | class C |
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
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()
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
import b
|
||||
|
||||
class A(b.B):
|
||||
pass
|
||||
@@ -1,4 +0,0 @@
|
||||
import c
|
||||
|
||||
class B(c.C):
|
||||
pass
|
||||
@@ -1,5 +0,0 @@
|
||||
import b
|
||||
|
||||
class C(object):
|
||||
def foo(self):
|
||||
b = B()
|
||||
Reference in New Issue
Block a user