From 79b588cac47f39ab6978b3d3cdd2c3e76d2edb18 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 04:00:34 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- executorlib/interactive/executor.py | 2 +- executorlib/interactive/slurm.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/executorlib/interactive/executor.py b/executorlib/interactive/executor.py index 74aa94b3..53259e3b 100644 --- a/executorlib/interactive/executor.py +++ b/executorlib/interactive/executor.py @@ -7,6 +7,7 @@ InteractiveStepExecutor, execute_tasks_with_dependencies, ) +from executorlib.interactive.slurm import SrunSpawner from executorlib.standalone.inputcheck import ( check_command_line_argument_lst, check_executor, @@ -18,7 +19,6 @@ validate_number_of_cores, ) from executorlib.standalone.interactive.spawner import MpiExecSpawner -from executorlib.interactive.slurm import SrunSpawner from executorlib.standalone.plot import ( draw, generate_nodes_and_edges, diff --git a/executorlib/interactive/slurm.py b/executorlib/interactive/slurm.py index 4fcbe5ca..c446a58a 100644 --- a/executorlib/interactive/slurm.py +++ b/executorlib/interactive/slurm.py @@ -1,4 +1,5 @@ from typing import Optional + from executorlib.standalone.interactive.spawner import SubprocessSpawner SLURM_COMMAND = "srun"