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 Aug 29, 2024
1 parent 4912e7d commit eb92322
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kr8s/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ async def mock_async_get_kind(*args, **kwargs):
"async_get_kind",
wraps=mock_async_get_kind,
) as mock:
with anyio.from_thread.start_blocking_portal(backend=sniffio.current_async_library()) as portal:
with anyio.from_thread.start_blocking_portal(
backend=sniffio.current_async_library()
) as portal:
watch_task = portal.start_task_soon(watch_pod, pod)
counter_task = portal.start_task_soon(counter, mock)
counter_task.add_done_callback(lambda task: watch_task.cancel())
Expand Down

0 comments on commit eb92322

Please sign in to comment.