Skip to content

Commit 15f8bb4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 99cc720 commit 15f8bb4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

executorlib/executor/flux.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,11 @@ def __init__(
334334
{k: v for k, v in default_resource_dict.items() if k not in resource_dict}
335335
)
336336
if not plot_dependency_graph:
337+
import pysqa # noqa
338+
337339
from executorlib.task_scheduler.file.task_scheduler import (
338340
create_file_executor,
339341
)
340-
import pysqa # noqa
341342

342343
super().__init__(
343344
executor=create_file_executor(

executorlib/executor/slurm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,11 @@ def __init__(
151151
{k: v for k, v in default_resource_dict.items() if k not in resource_dict}
152152
)
153153
if not plot_dependency_graph:
154+
import pysqa # noqa
155+
154156
from executorlib.task_scheduler.file.task_scheduler import (
155157
create_file_executor,
156158
)
157-
import pysqa # noqa
158159

159160
super().__init__(
160161
executor=create_file_executor(

0 commit comments

Comments
 (0)