format chore

This commit is contained in:
2025-10-13 19:00:59 +05:30
parent 0b4c6264a8
commit 20ec307288
2 changed files with 19 additions and 6 deletions

View File

@ -3,9 +3,12 @@ from .dependency_handler import DependencyHandler
logger = logging.getLogger(__name__)
class IRGenerator:
def __init__(self, module, handler: DependencyHandler):
self.module = module
self.handler: DependencyHandler = handler
if not handler.is_ready:
raise ImportError("Semantic analysis of vmlinux imports failed. Cannot generate IR")
raise ImportError(
"Semantic analysis of vmlinux imports failed. Cannot generate IR"
)