refactor(sdm): Global pass with refined 'External Only' SDM tags. Pruned redundant internal references and fixed indentation logic in injector. Verified full project compilation.
This commit is contained in:
@@ -3,9 +3,10 @@ from tree_sitter import Language, Parser
|
||||
|
||||
def test_tree_sitter_python_setup() -> None:
|
||||
"""
|
||||
Verifies that tree-sitter and tree-sitter-python are correctly installed
|
||||
and can parse a simple Python function string.
|
||||
"""
|
||||
|
||||
Verifies that tree-sitter and tree-sitter-python are correctly installed
|
||||
and can parse a simple Python function string.
|
||||
"""
|
||||
# Initialize the Python language and parser
|
||||
PY_LANGUAGE = Language(tspython.language())
|
||||
parser = Parser(PY_LANGUAGE)
|
||||
@@ -22,4 +23,4 @@ def test_tree_sitter_python_setup() -> None:
|
||||
if child.type == "function_definition":
|
||||
found_function = True
|
||||
break
|
||||
assert found_function, "Should have found a function_definition node"
|
||||
assert found_function, "Should have found a function_definition node"
|
||||
Reference in New Issue
Block a user