Skip to content

Commit

Permalink
Run black.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachaa-Thanasius committed Nov 30, 2023
1 parent 751adba commit cde0cf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wavelink/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def _wakeup_next(self) -> None:
if not waiter.done():
waiter.set_result(None)
break

@staticmethod
def _check_compatability(item: object) -> None:
if not isinstance(item, Playable):
Expand Down Expand Up @@ -209,7 +209,7 @@ def get(self) -> Playable:
self._loaded = track

return track

def get_at(self, index: int, /) -> Playable:
if not self:
raise QueueEmpty("There are no items currently in this queue.")
Expand Down Expand Up @@ -362,7 +362,7 @@ def delete(self, index: int, /) -> None:
queue.delete(1)
# Deletes the track at index 1 (The second track).
"""

del self.__items[index]

def count(self) -> int:
Expand Down Expand Up @@ -413,7 +413,7 @@ def clear(self) -> None:
"""

self.__items.clear()

def copy(self) -> Queue:
return Queue(max_retention=self.max_retention, history=self.history is not None)

Expand Down

0 comments on commit cde0cf6

Please sign in to comment.