Applied idiomatic Python improvements and micro-optimizations across registries and API layer.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 20s
CI / Tests (Python 3.13) (push) Successful in 19s
CI / Tests (Python 3.14) (push) Successful in 16s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (Python 3.12) (push) Successful in 20s
CI / Tests (Python 3.13) (push) Successful in 19s
CI / Tests (Python 3.14) (push) Successful in 16s
CI / Type Checking (push) Successful in 9s
CI / Spelling (push) Successful in 5s
This commit is contained in:
@@ -109,7 +109,7 @@ class HttpServer:
|
||||
await self._runner.setup()
|
||||
|
||||
site = web.TCPSite(self._runner, host, port)
|
||||
logger.debug(f"Binding web server to {host}:{port}...")
|
||||
logger.debug("Binding web server to %s:%s...", host, port)
|
||||
try:
|
||||
await site.start()
|
||||
except OSError as e:
|
||||
@@ -146,7 +146,7 @@ class HttpServer:
|
||||
return web.Response(status=400)
|
||||
|
||||
event_type = data.get("type", "unknown")
|
||||
logger.debug(f"Received webhook: {event_type}")
|
||||
logger.debug("Received webhook: %s", event_type)
|
||||
|
||||
result = parse_event(data)
|
||||
if result is None:
|
||||
|
||||
Reference in New Issue
Block a user