From ec3272ea64fbb0f470d2d9a10c8a9080bd6a4abe Mon Sep 17 00:00:00 2001 From: HAL9000 Date: Thu, 7 May 2026 08:21:44 +0000 Subject: [PATCH] fix(cli): remove triple blank lines and redundant inline import in plan.py Remove two triple blank lines (PEP 8 violation) between function definitions in plan.py that were causing the CI lint gate to fail. Also remove a redundant inline import of LifecyclePlan inside _execute_output_dict() since it is already imported at module level. ISSUES CLOSED: #9450 --- src/cleveragents/cli/commands/plan.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cleveragents/cli/commands/plan.py b/src/cleveragents/cli/commands/plan.py index 7b5e1802e..3a4c1f47a 100644 --- a/src/cleveragents/cli/commands/plan.py +++ b/src/cleveragents/cli/commands/plan.py @@ -347,8 +347,6 @@ def _execute_output_dict( Returns: A JSON-serialisable dict matching the spec-required envelope. """ - from cleveragents.domain.models.core.plan import Plan as LifecyclePlan - if not isinstance(plan, LifecyclePlan): # Legacy plan fallback — return minimal envelope return { @@ -479,7 +477,6 @@ def _execute_output_dict( - def _get_progress_status(phase: PlanPhase, state: ProcessingState) -> str: """Determine progress status based on plan phase and state.