Skip to content

Commit 2d9f84a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fa7bee9 commit 2d9f84a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/executorlib/task_scheduler/interactive/dependency.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,7 @@ def _execute_tasks_with_dependencies(
329329
refresh_rate=refresh_rate,
330330
)
331331
elif task_return_dict is not None:
332-
future_lookup_dict = (
333-
{}
334-
) # we need this future dict later on to resolve the dependencies
332+
future_lookup_dict = {} # we need this future dict later on to resolve the dependencies
335333
for k, v in task_return_dict.items():
336334
future_lookup_dict[k] = executor.submit(
337335
fn=v["fn"],

src/executorlib/task_scheduler/interactive/onetoone.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import queue
22
from concurrent.futures import Future
33
from threading import Thread
4-
from time import sleep
54
from typing import Callable, Optional
65

76
from executorlib.standalone.command import get_interactive_execute_command

0 commit comments

Comments
 (0)