Skip to content

Commit 641be77

Browse files
committed
chore: Fix unused variable (found by ruff)
1 parent 45c06c8 commit 641be77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libtmux/_internal/query_list.py

-2
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@ class QueryList(List[T]):
285285
pk_key: Optional[str]
286286

287287
def items(self) -> List[T]:
288-
data: "Sequence[T]"
289-
290288
if self.pk_key is None:
291289
raise Exception("items() require a pk_key exists")
292290
return [(getattr(item, self.pk_key), item) for item in self]

0 commit comments

Comments
 (0)