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
@@ -7,7 +7,7 @@ import os
import subprocess
import unittest
from claude_bottle.network import (
from claude_bottle.platform.docker.network import (
network_create_egress,
network_create_internal,
network_remove,