Skip to content

Commit

Permalink
Some black + ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
curufinwe committed Aug 26, 2024
1 parent e7e6332 commit b937afe
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sisyphus/aws_batch_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import sisyphus.global_settings as gs
from sisyphus.engine import EngineBase
from sisyphus.global_settings import STATE_RUNNABLE, STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR
from sisyphus.global_settings import STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR

ENGINE_NAME = "aws"
TaskInfo = namedtuple("TaskInfo", ["job_id", "task_id", "state"])
Expand Down
2 changes: 1 addition & 1 deletion sisyphus/load_sharing_facility_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import sisyphus.global_settings as gs
from sisyphus.engine import EngineBase
from sisyphus.global_settings import STATE_RUNNABLE, STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR
from sisyphus.global_settings import STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR

ENGINE_NAME = "lsf"
TaskInfo = namedtuple("TaskInfo", ["job_id", "task_id", "state"])
Expand Down
2 changes: 0 additions & 2 deletions sisyphus/localengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def get_process_logging_path(task_path, task_name, task_id):


class sync_object(object):

"""Object to be used by the with statement to sync an object via queue
e.g.::
Expand All @@ -66,7 +65,6 @@ def __exit__(self, type, value, traceback):


class LocalEngine(threading.Thread, EngineBase):

"""Simple engine to execute running tasks locally.
CPU and GPU are always checked, all other requirements only if given during initialisation.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import sisyphus.global_settings as gs
from sisyphus.engine import EngineBase
from sisyphus.global_settings import STATE_RUNNABLE, STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR
from sisyphus.global_settings import STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR

ENGINE_NAME = "slurm"
TaskInfo = namedtuple("TaskInfo", ["job_id", "task_id", "state"])
Expand Down
2 changes: 1 addition & 1 deletion sisyphus/son_of_grid_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import sisyphus.global_settings as gs
from sisyphus.engine import EngineBase
from sisyphus.global_settings import STATE_RUNNABLE, STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR
from sisyphus.global_settings import STATE_RUNNING, STATE_UNKNOWN, STATE_QUEUE, STATE_QUEUE_ERROR

ENGINE_NAME = "sge"
TaskInfo = namedtuple("TaskInfo", ["job_id", "task_id", "state"])
Expand Down

0 comments on commit b937afe

Please sign in to comment.