fix: resolve pyright strict errors
lint / lint (push) Successful in 1m50s
test / unit (pull_request) Successful in 39s
test / integration (pull_request) Successful in 25s

This commit is contained in:
2026-06-09 02:15:18 +00:00
parent a397d37bbe
commit 3ceff1ac4f
10 changed files with 23 additions and 27 deletions
+10 -5
View File
@@ -25,6 +25,11 @@ from pathlib import Path
from typing import Generator, Sequence
from ...supervise import SUPERVISE_HOSTNAME, SUPERVISE_PORT
from ...agent_provider import AgentProvisionPlan
from ...egress import EgressPlan
from ...env import ResolvedEnv
from ...git_gate import GitGatePlan
from ...supervise import SupervisePlan
from .. import ActiveAgent, BottleBackend, BottleSpec
from . import cleanup as _cleanup
from . import enumerate as _enumerate
@@ -53,11 +58,11 @@ class DockerBottleBackend(BottleBackend["DockerBottlePlan", "DockerBottleCleanup
spec: BottleSpec,
*,
slug: str,
resolved_env,
agent_provision_plan,
egress_plan,
git_gate_plan,
supervise_plan,
resolved_env: ResolvedEnv,
agent_provision_plan: AgentProvisionPlan,
egress_plan: EgressPlan,
git_gate_plan: GitGatePlan,
supervise_plan: SupervisePlan | None,
stage_dir: Path,
) -> DockerBottlePlan:
return _resolve_plan.resolve_plan(