Skip to content

Commit d6b2bf3

Browse files
alec-flowersclaude
andcommitted
style: format setup_head.py
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c4b1048 commit d6b2bf3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/srtctl/cli/setup_head.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ def setup_logging():
119119
)
120120

121121

122-
def start_nats(binary_path: str = "/configs/nats-server", max_payload_mb: int | None = None) -> subprocess.Popen:
122+
def start_nats(
123+
binary_path: str = "/configs/nats-server",
124+
max_payload_mb: int | None = None,
125+
) -> subprocess.Popen:
123126
"""Start NATS server.
124127
125128
Args:
@@ -146,7 +149,7 @@ def start_nats(binary_path: str = "/configs/nats-server", max_payload_mb: int |
146149
max_payload_bytes = max_payload_mb * 1024 * 1024
147150
with open(nats_config_path, "w") as f:
148151
f.write(f"max_payload: {max_payload_bytes}\n")
149-
f.write(f"jetstream {{ store_dir: \"{nats_store_dir}\" }}\n")
152+
f.write(f'jetstream {{ store_dir: "{nats_store_dir}" }}\n')
150153
logger.info("Starting NATS server (max_payload: %dMB)...", max_payload_mb)
151154
cmd = [binary_path, "-c", nats_config_path]
152155
else:

0 commit comments

Comments
 (0)