Python: Streamline what modules to allow for now

This commit is contained in:
Rasmus Wriedt Larsen
2023-09-12 15:28:55 +02:00
parent ba0a5b1c23
commit b66dd23a68
2 changed files with 15 additions and 4 deletions

View File

@@ -76,7 +76,6 @@ where
not exists(FindSubclassesSpec subclass | subclass.getSuperClass() = spec |
newModel(subclass, newModelFullyQualified, _, mod, _)
) and
not exists(mod.getLocation().getFile().getRelativePath()) and
fullyQualifiedToYamlFormat(newModelFullyQualified, type2, path) and
not Extensions::typeModel(spec, type2, path)
select spec.(string), type2, path