Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

fix(build): keep the TUI sidecar hook importable on hatchling 1.32.1 (#1325)

alex s910c1ea4bbf2
diff --git a/scripts/tui_sidecar_hook.py b/scripts/tui_sidecar_hook.py
index 800aa778..01de6fdc 100644
--- a/scripts/tui_sidecar_hook.py
+++ b/scripts/tui_sidecar_hook.py
@@ -12,7 +12,7 @@ from typing import Any
from hatchling.builders.hooks.plugin.interface import BuildHookInterface
-class CustomBuildHook(BuildHookInterface[Any]):
+class CustomBuildHook(BuildHookInterface): # type: ignore[type-arg]
"""Compile the Bubble Tea sidecar and ship it inside the wheel.
The sidecar is the only interactive interface, so every wheel is a