Skip to content

Commit e60bda3

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 0bc5014 commit e60bda3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

discord/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,15 @@ def _handle_ready(self) -> None:
327327
def loop(self) -> asyncio.AbstractEventLoop:
328328
"""The event loop that the client uses for asynchronous operations."""
329329
if self._loop is MISSING:
330-
raise RuntimeError('loop is not set')
330+
raise RuntimeError("loop is not set")
331331
return self._loop
332332

333333
@loop.setter
334334
def loop(self, value: asyncio.AbstractEventLoop) -> None:
335335
if not isinstance(value, asyncio.AbstractEventLoop):
336-
raise TypeError(f'expected a AbstractEventLoop object, got {value.__class__.__name__!r} instead')
336+
raise TypeError(
337+
f"expected a AbstractEventLoop object, got {value.__class__.__name__!r} instead"
338+
)
337339
self._loop = value
338340

339341
@property

0 commit comments

Comments
 (0)