Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -49,7 +49,8 @@ class KVCacheLayout(Enum):
|
||||
@property
|
||||
def is_block_compact(self) -> bool:
|
||||
"""True when each page's [H, N, C] bytes form one contiguous run; i.e.
|
||||
the L and B dimensions are outermost."""
|
||||
the L and B dimensions are outermost.
|
||||
"""
|
||||
return set(self.value[:2]) == {_DIM_L, _DIM_B}
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user