Python: Update all metrics-dependant queries

The ones that no longer require points-to no longer import
`LegacyPointsTo`. The ones that do use the specific
`...MetricsWithPointsTo` classes that are applicable.
This commit is contained in:
Taus
2026-02-18 16:41:57 +00:00
parent 20fea3955e
commit e8de8433f4
28 changed files with 7 additions and 28 deletions

View File

@@ -18,6 +18,6 @@ from FunctionValue method
where
exists(ClassValue c |
c.declaredAttribute("__del__") = method and
method.getScope().(FunctionMetrics).getCyclomaticComplexity() > 3
method.getScope().(FunctionMetricsWithPointsTo).getCyclomaticComplexity() > 3
)
select method, "Overly complex '__del__' method."