Add flake8-implicit-str-concat rules to Ruff (#33191)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-01-28 04:56:10 +00:00
committed by GitHub
parent a97b5e206d
commit 2eb673a088
16 changed files with 34 additions and 33 deletions
@@ -216,7 +216,7 @@ class FlashAttnMLAMetadataBuilder(MLACommonMetadataBuilder[FlashAttnMLAMetadata]
# Ensure the persistent buffer is large enough
assert n <= self.scheduler_metadata.shape[0], (
f"Scheduler metadata size {n} exceeds buffer size "
+ f"{self.scheduler_metadata.shape[0]}"
f"{self.scheduler_metadata.shape[0]}"
)
self.scheduler_metadata[:n] = scheduler_metadata
# NOTE(woosuk): We should zero out the rest of the scheduler
+1 -1
View File
@@ -646,7 +646,7 @@ class ChunkedLocalAttentionManager(SingleTypeKVCacheManager):
"""
assert isinstance(kv_cache_spec, ChunkedLocalAttentionSpec), (
"ChunkedLocalAttentionManager can only be used for "
+ "chunked local attention groups"
"chunked local attention groups"
)
assert use_eagle is False, (
"Hybrid KV cache is not supported for " + "eagle + chunked local attention."
+1 -1
View File
@@ -618,7 +618,7 @@ class AsyncLLM(EngineClient):
except Exception as e2:
s = (
f"{e.__class__.__name__}: "
+ "error during printing an exception of class"
"error during printing an exception of class"
+ e2.__class__.__name__
)
logger.info("Request %s failed due to %s.", request_id, s)