mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Python: Ignore any captured info with tests in it
This commit is contained in:
@@ -513,5 +513,6 @@ where
|
||||
newModel(subclass, newModelFullyQualified, _, mod, _)
|
||||
) and
|
||||
fullyQualifiedToYamlFormat(newModelFullyQualified, type2, path) and
|
||||
not Extensions::typeModel(spec, type2, path)
|
||||
not Extensions::typeModel(spec, type2, path) and
|
||||
not newModelFullyQualified.regexpMatch("(?i).*tests?_?.*")
|
||||
select spec.(string), type2, path
|
||||
|
||||
Reference in New Issue
Block a user