style: apply ruff auto-fixes
This commit is contained in:
@@ -22,13 +22,9 @@ for path in (ROOT_DIR, BASE_DIR):
|
||||
sys.path.insert(0, str_path)
|
||||
|
||||
from SYS import pipeline as ctx
|
||||
# Lazily import CLI dependencies to avoid import-time failures in test environments
|
||||
try:
|
||||
from CLI import ConfigLoader, PipelineExecutor as CLIPipelineExecutor, WorkerManagerRegistry
|
||||
except Exception:
|
||||
ConfigLoader = None
|
||||
CLIPipelineExecutor = None
|
||||
WorkerManagerRegistry = None
|
||||
from CLI import ConfigLoader
|
||||
from SYS.pipeline import PipelineExecutor
|
||||
from SYS.worker import WorkerManagerRegistry
|
||||
from SYS.logger import set_debug
|
||||
from SYS.rich_display import capture_rich_output
|
||||
from SYS.result_table import Table
|
||||
@@ -89,7 +85,7 @@ class PipelineRunner:
|
||||
if executor is not None:
|
||||
self._executor = executor
|
||||
else:
|
||||
self._executor = CLIPipelineExecutor(config_loader=self._config_loader) if CLIPipelineExecutor else None
|
||||
self._executor = PipelineExecutor(config_loader=self._config_loader)
|
||||
self._worker_manager = None
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user