Skip to content

Quickly sandbox your AI agent.

Python

fix(quicksand-core): move .host import to top of _types to satisfy ruff E402

Jace Medlin (AIM Consulting Addison Group)2360e9723e81
diff --git a/packages/quicksand-core/quicksand_core/_types.py b/packages/quicksand-core/quicksand_core/_types.py
index a68b2cc..0624b71 100644
--- a/packages/quicksand-core/quicksand_core/_types.py
+++ b/packages/quicksand-core/quicksand_core/_types.py
@@ -21,13 +21,13 @@ from typing import Literal, Protocol, TypedDict, runtime_checkable
from pydantic import BaseModel, ConfigDict, field_validator
+from .host import Accelerator
+
# Pass to subprocess.run()/Popen(creationflags=...) so console binaries (QEMU,
# qemu-img, powershell) don't flash their own console window when launched from a
# windowed/GUI parent on Windows. No-op (0) on non-Windows platforms.
NO_WINDOW_CREATIONFLAGS: int = subprocess.CREATE_NO_WINDOW if sys.platform == "win32" else 0
-from .host import Accelerator
-
# =============================================================================
# Mount Specification
# =============================================================================