static type checks

This commit is contained in:
2025-10-11 17:11:01 +05:30
parent f227fe9310
commit 2ae3aade60

View File

@ -8,7 +8,7 @@ from .vmlinux_class_handler import process_vmlinux_class
logger = logging.getLogger(__name__)
def detect_import_statement(tree: ast.AST) -> List[Tuple[str, str]]:
def detect_import_statement(tree: ast.AST) -> List[Tuple[str, ast.ImportFrom]]:
"""
Parse AST and detect import statements from vmlinux.