Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 15, 2023
1 parent 9ac4c0d commit 2f43a9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions discord/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import signal
import sys
import traceback
from typing import TYPE_CHECKING, Any, Callable, Coroutine, Generator, Sequence, TypeVar
from types import TracebackType
from typing import TYPE_CHECKING, Any, Callable, Coroutine, Generator, Sequence, TypeVar

import aiohttp

Expand Down Expand Up @@ -262,10 +262,11 @@ async def __aenter__(self) -> Client:

return self

async def __aexit__(self,
async def __aexit__(
self,
exc_t: BaseException | None,
exc_v: BaseException | None,
exc_tb: TracebackType | None
exc_tb: TracebackType | None,
) -> None:
if not self.is_closed():
await self.close()
Expand Down

0 comments on commit 2f43a9c

Please sign in to comment.