[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -129,8 +129,7 @@ def test_producer_session_grant_nacks_missing_entry():
|
||||
|
||||
def test_producer_session_grant_nacks_not_ready_entry_as_retryable():
|
||||
"""An announced entry whose save is still in flight is distinguished from a
|
||||
miss, so the consumer retries instead of falling back to local compute.
|
||||
"""
|
||||
miss, so the consumer retries instead of falling back to local compute."""
|
||||
cache = EmbeddingCache(num_blocks=8)
|
||||
cache.alloc("h1", 2) # not ready
|
||||
s = _make_producer_session(cache)
|
||||
@@ -438,8 +437,7 @@ def test_consumer_session_poll_nack_goes_to_tombstoned():
|
||||
|
||||
def test_consumer_session_poll_not_ready_nack_goes_to_retryable():
|
||||
"""A not-ready NACK must not tombstone: tombstoning admits the request with
|
||||
no embedding, which is fatal once the media has been rewritten away.
|
||||
"""
|
||||
no embedding, which is fatal once the media has been rewritten away."""
|
||||
import msgspec
|
||||
|
||||
s = _make_consumer_session()
|
||||
|
||||
Reference in New Issue
Block a user