Modernized codebase with NamedTuples, StrEnum, override decorators, slots, and other idiomatic improvements.
CI / Formatting (push) Successful in 4s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 21s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-03-22 20:02:31 -04:00
parent a23d252f27
commit 23cc721612
12 changed files with 155 additions and 91 deletions
+2
View File
@@ -131,6 +131,8 @@ class MetricsServer:
which handles compression and content negotiation automatically.
"""
__slots__ = ("_host", "_port", "_runner")
def __init__(self, host: str, port: int) -> None:
"""Store the listen address.