Merge pull request #51 from cloudwithax/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
commit
af5418c958
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue