Skip to content

Commit 47c0f0a

Browse files
committed
I did all that just to forget to run ruff format
1 parent 50fb794 commit 47c0f0a

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

async_utils/_cpython_stuff.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020

2121
class _HashedSeq(list[Any]):
22-
2322
__slots__ = ("hashvalue",)
2423

2524
def __init__(

async_utils/bg_loop.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ async def run(self, coro: _FutureLike[_T]) -> _T:
4646

4747

4848
def run_forever(
49-
loop: asyncio.AbstractEventLoop, /, *,
49+
loop: asyncio.AbstractEventLoop,
50+
/,
51+
*,
5052
use_eager_task_factory: bool = True,
5153
) -> None:
5254
asyncio.set_event_loop(loop)
@@ -68,13 +70,11 @@ def run_forever(
6870
for task in tasks:
6971
try:
7072
if (exc := task.exception()) is not None:
71-
loop.call_exception_handler(
72-
{
73-
"message": "Unhandled exception in task during shutdown.",
74-
"exception": exc,
75-
"task": task,
76-
}
77-
)
73+
loop.call_exception_handler({
74+
"message": "Unhandled exception in task during shutdown.",
75+
"exception": exc,
76+
"task": task,
77+
})
7878
except (asyncio.InvalidStateError, asyncio.CancelledError):
7979
pass
8080

0 commit comments

Comments
 (0)