diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b202571..e92c5e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: hooks: - id: blacken-docs - repo: https://github.com/asottile/pyupgrade - rev: v3.4.0 + rev: v3.6.0 hooks: - id: pyupgrade args: [--py37-plus, --keep-runtime-typing] @@ -29,11 +29,11 @@ repos: hooks: - id: reorder-python-imports - repo: https://github.com/asottile/add-trailing-comma - rev: v2.4.0 + rev: v2.5.1 hooks: - id: add-trailing-comma - repo: https://github.com/hadialqattan/pycln - rev: v2.1.3 + rev: v2.1.5 hooks: - id: pycln diff --git a/pomice/pool.py b/pomice/pool.py index 107c64b..ce06f30 100644 --- a/pomice/pool.py +++ b/pomice/pool.py @@ -447,7 +447,7 @@ class Node: """Takes a guild ID as a parameter. Returns a pomice Player object or None.""" return self._players.get(guild_id, None) - async def connect(self, *, reconnect: bool = False) -> "Node": + async def connect(self, *, reconnect: bool = False) -> Node: """Initiates a connection with a Lavalink node and adds it to the node pool.""" await self._bot.wait_until_ready()