From 2ae3aade60e8ea4eece5b1203cbe4cf55b2c3124 Mon Sep 17 00:00:00 2001 From: varun-r-mallya Date: Sat, 11 Oct 2025 17:11:01 +0530 Subject: [PATCH] static type checks --- pythonbpf/vmlinux_parser/import_detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonbpf/vmlinux_parser/import_detector.py b/pythonbpf/vmlinux_parser/import_detector.py index 862147a..9aff52d 100644 --- a/pythonbpf/vmlinux_parser/import_detector.py +++ b/pythonbpf/vmlinux_parser/import_detector.py @@ -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.