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 21, 2024
1 parent 4bc7a4c commit 62fb269
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/asphalt/core/_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Any
from warnings import warn

from anyio import create_task_group
from anyio.abc import TaskGroup
from anyio.lowlevel import cancel_shielded_checkpoint

Expand Down Expand Up @@ -116,7 +115,6 @@ async def start(self, ctx: Context) -> None:
self.add_component(alias)

async def start_child_components():

for component in self.child_components.values():
component._task_group = self._task_group
self._task_group.start_soon(component.start, ctx)
Expand Down
2 changes: 1 addition & 1 deletion src/asphalt/core/_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
sleep,
to_thread,
)
from anyio.abc import TaskGroup, TaskStatus
from anyio.abc import TaskStatus
from exceptiongroup import catch

from ._component import Component, component_types
Expand Down

0 comments on commit 62fb269

Please sign in to comment.