refactor: Make types.py strictly typechecked. (#336)

This commit is contained in:
David Soria Parra
2025-03-26 14:21:35 +00:00
committed by GitHub
parent df2d3a57c2
commit 9a2bb6a7e7
4 changed files with 66 additions and 34 deletions

View File

@@ -134,9 +134,7 @@ def server(server_port: int) -> Generator[None, None, None]:
time.sleep(0.1)
attempt += 1
else:
raise RuntimeError(
f"Server failed to start after {max_attempts} attempts"
)
raise RuntimeError(f"Server failed to start after {max_attempts} attempts")
yield