fix(ci): restore TaskSpec re-export in task_scheduler.py
Some checks failed
CI / Backend (Python) (push) Failing after 31s
CI / Frontend (Vue) (push) Successful in 22s
CI / Backend (Python) (pull_request) Failing after 23s
CI / Frontend (Vue) (pull_request) Successful in 20s

ruff --fix removed the TaskSpec import as unused within the module,
but it is part of the public API — tests import it from scripts.task_scheduler
rather than reaching into circuitforge_core directly.
Add # noqa: F401 to protect intentional re-exports from future auto-fix.
This commit is contained in:
pyr0ball 2026-05-21 11:51:40 -07:00
parent 46bae7db1c
commit e4c5744d87

View file

@ -21,6 +21,7 @@ from typing import Callable, Optional
from circuitforge_core.tasks.scheduler import ( from circuitforge_core.tasks.scheduler import (
LocalScheduler as _CoreTaskScheduler, LocalScheduler as _CoreTaskScheduler,
TaskSpec, # noqa: F401 — re-exported as part of public API; tests import from here
) )
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)