Line too long errors

This commit is contained in:
2026-05-25 02:27:39 +00:00
parent 6115a3ff0a
commit 6646068adc
10 changed files with 50 additions and 28 deletions
+12 -3
View File
@@ -1,4 +1,7 @@
"""Utilities meant for devserver script, used only in source repository with dev deps."""
"""Utilities for the devserver script in the source repository.
Used only with development dependencies.
"""
import asyncio
import subprocess
@@ -14,7 +17,10 @@ from fastapi_vue.hostutil import parse_endpoint
class ProcessGroup:
"""Manage async subprocesses with automatic cleanup, like TaskGroup for processes."""
"""Manage async subprocesses with automatic cleanup.
Acts like TaskGroup for processes.
"""
def __init__(self) -> None:
self._procs: list[asyncio.subprocess.Process] = []
@@ -98,7 +104,10 @@ class ProcessGroup:
async def check_ports_free(*urls: str) -> None:
"""Verify URLs are not responding (ports are free). Raise SystemExit if any respond."""
"""Verify URLs are not responding (ports are free).
Raise SystemExit if any endpoint responds.
"""
async def check(client: httpx.AsyncClient, url: str) -> None:
with suppress(httpx.RequestError):