Skip to content

Commit

Permalink
add some noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Nov 1, 2024
1 parent 8b87799 commit 95bf96f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ def _assert_dask_client_correctly_initialized(
)
mocked_dask_client.register_handlers.assert_called_once_with(
TaskHandlers(
cast(DaskScheduler, scheduler)._task_progress_change_handler,
cast(
DaskScheduler, scheduler
)._task_progress_change_handler, # noqa: SLF001
cast(DaskScheduler, scheduler)._task_log_change_handler, # noqa: SLF001
)
)
Expand Down Expand Up @@ -236,7 +238,7 @@ async def minimal_app(async_client: httpx.AsyncClient) -> FastAPI:
# a new thread on which it creates a new loop
# causing issues downstream with coroutines not
# being created on the same loop
return async_client._transport.app # type: ignore
return async_client._transport.app # type: ignore # noqa: SLF001


@pytest.fixture
Expand Down

0 comments on commit 95bf96f

Please sign in to comment.