refactor(docker): move network.py into platform/docker/
test / run tests/run_tests.py (pull_request) Successful in 14s

The Docker bridge / internal network primitives are Docker-specific;
they belong inside the Docker platform package alongside util.py and
the rest. Same logic the earlier top-level docker.py move followed.

Imports:
  - platform.py: `from ... import network as network_mod`
                 -> `from . import network as network_mod`
  - network.py: `from .log import ...` -> `from ...log import ...`
  - tests/test_orphan_cleanup.py: from claude_bottle.network
                 -> from claude_bottle.platform.docker.network
This commit is contained in:
2026-05-10 23:40:58 -04:00
parent 1d2c18eaae
commit c79966731c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,13 +17,13 @@ from contextlib import contextmanager
from pathlib import Path
from typing import Iterator
from ... import network as network_mod
from ... import pipelock
from ... import skills as skills_mod
from ... import ssh as ssh_mod
from ...env_resolve import env_resolve
from ...log import die, info
from .. import BottleCleanupPlan, BottlePlan, BottlePlatform, BottleSpec
from . import network as network_mod
from . import util as docker_mod
from .bottle import DockerBottle
from .bottle_cleanup_plan import DockerBottleCleanupPlan