Skip to content

Commit

Permalink
apply isort to modified files
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Jan 8, 2024
1 parent 1fdf37c commit 6782ffa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions smartsim/_core/control/jobmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@

from ...database import Orchestrator
from ...entity import DBNode, EntitySequence, SmartSimEntity
from ...log import get_logger, ContextThread
from ...log import ContextThread, get_logger
from ...status import STATUS_NEVER_STARTED, TERMINAL_STATUSES
from ..config import CONFIG
from ..launcher import Launcher, LocalLauncher
from ..utils.network import get_ip_from_host
from .job import Job, JobEntity


logger = get_logger(__name__)


Expand Down
2 changes: 1 addition & 1 deletion smartsim/_core/launcher/taskManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import psutil

from ...error import LauncherError
from ...log import get_logger, ContextThread
from ...log import ContextThread, get_logger
from ..utils.helpers import check_dev_log_level
from .util.shell import execute_async_cmd, execute_cmd

Expand Down
5 changes: 2 additions & 3 deletions smartsim/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@
from .database import Orchestrator
from .entity import Ensemble, Model, SmartSimEntity
from .error import SmartSimError
from .log import get_logger, method_contextualizer, ctx_exp_path
from .settings import base, Container, settings
from .log import ctx_exp_path, get_logger, method_contextualizer
from .settings import Container, base, settings
from .wlm import detect_launcher


logger = get_logger(__name__)


Expand Down
5 changes: 2 additions & 3 deletions smartsim/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@
import sys
import threading
import typing as t

import coloredlogs
from contextvars import ContextVar, copy_context

import coloredlogs

# constants
DEFAULT_DATE_FORMAT: t.Final[str] = "%H:%M:%S"
Expand All @@ -59,7 +58,7 @@
_ContextT = t.TypeVar("_ContextT")

if t.TYPE_CHECKING:
from typing_extensions import ParamSpec, Concatenate
from typing_extensions import Concatenate, ParamSpec

_PR = ParamSpec("_PR")

Expand Down

0 comments on commit 6782ffa

Please sign in to comment.