Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions examples/extension-entrypoint-surface-smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@

from __future__ import annotations

import sys
from pathlib import Path

from loopx.extensions.entrypoint_surface import (
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))

from loopx.extensions.entrypoint_surface import ( # noqa: E402
EntrypointKind,
render_report,
resolve_declared_entrypoints,
)


ROOT = Path(__file__).resolve().parents[1]

EXPECTED_KINDS = frozenset(kind.value for kind in EntrypointKind)

REQUIRED_KINDS = (
Expand Down