chore: add D212 lint rule to enforce Google-style docstrings (#1892)

This commit is contained in:
Felix Weinberger 2026-01-16 16:10:52 +00:00 • committed by GitHub
commit d41d0c0128
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 452 additions and 925 deletions

View file

@ -1,5 +1,4 @@
"""
In-memory event store for demonstrating resumability functionality.
"""In-memory event store for demonstrating resumability functionality.
This is a simple implementation intended for examples and testing,
not for production use where a persistent storage solution would be more appropriate.
@ -26,8 +25,7 @@ class EventEntry:
class InMemoryEventStore(EventStore):
"""
Simple in-memory implementation of the EventStore interface for resumability.
"""Simple in-memory implementation of the EventStore interface for resumability.
This is primarily intended for examples and testing, not for production use
where a persistent storage solution would be more appropriate.

View file

@ -1,5 +1,4 @@
"""
SSE Polling Demo Server
"""SSE Polling Demo Server
Demonstrates the SSE polling pattern with close_sse_stream() for long-running tasks.