2 parents 090be98 + b49abe4 commit e66ba69Copy full SHA for e66ba69
1 file changed
examples/extension-entrypoint-surface-smoke.py
@@ -11,17 +11,20 @@
11
12
from __future__ import annotations
13
14
+import sys
15
from pathlib import Path
16
-from loopx.extensions.entrypoint_surface import (
17
+ROOT = Path(__file__).resolve().parents[1]
18
+if str(ROOT) not in sys.path:
19
+ sys.path.insert(0, str(ROOT))
20
+
21
+from loopx.extensions.entrypoint_surface import ( # noqa: E402
22
EntrypointKind,
23
render_report,
24
resolve_declared_entrypoints,
25
)
26
27
-ROOT = Path(__file__).resolve().parents[1]
-
28
EXPECTED_KINDS = frozenset(kind.value for kind in EntrypointKind)
29
30
REQUIRED_KINDS = (
0 commit comments