Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
fix(tests): exempt the ASP.NET handler head from the bare-name guard (#1863)
Raghav Chamadiya13e7c996d096
diff --git a/tests/unit/test_no_bare_type_name_copies.py b/tests/unit/test_no_bare_type_name_copies.pyindex 464378a89..18e92ce6e 100644--- a/tests/unit/test_no_bare_type_name_copies.py+++ b/tests/unit/test_no_bare_type_name_copies.py@@ -90,6 +90,11 @@ _KNOWN: dict[str, int] = {# prefix to resolve the package it came from. Neither wants a type._PREFIX + "framework_edges/rust.py": 1,_PREFIX + "framework_edges/go.py": 1,+ # Takes the qualifier HEAD of `OrderHandlers.GetOrder` to reach the+ # declaring type. It does want a type, but the shared helper returns the+ # trailing segment, which is the member — the opposite end, the same reason+ # `receiver_types.py` is exempt.+ _PREFIX + "framework_edges/aspnet.py": 1,# Real copies, each held by a consumer no gate here measures: converting# them moves framework edges, C++ symbol parent names and Go# `method_implements` edges respectively. Removable once those are covered.