Enable ty rule 'unresolved-attribute' for test/

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-09-18 13:08:36 +02:00
1 parent 2a6deef838
commit 3ad4044c69
24 files changed
+67 -38

No files matched your search

+1 -1
View File
@@ -192,7 +192,7 @@ class TestPascalLanguageServerBasics:
contents = hover.get("contents", {})
value = contents.get("value", "") if isinstance(contents, dict) else str(contents)
else:
value = hover.contents.value if hasattr(hover.contents, "value") else str(hover.contents)
value = hover.contents.value if hasattr(hover.contents, "value") else str(hover.contents) # type: ignore
# Should contain the function signature
assert "CalculateSum" in value, f"Hover should show function name. Got: {value[:500]}"