diff options
| author | Scott <[email protected]> | 2022-02-02 12:13:27 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-02-02 12:13:27 -0800 |
| commit | 31c81f6539969a5eba864d3305f9fb7bf716a367 (patch) | |
| tree | 497c8911d370002ac195d31d196ba5bcd6da6db8 /executors.py | |
| parent | 5317c50ce7a96a37acfab3800c0935580766dbbf (diff) | |
Used isort to sort imports. Also added to the git pre-commit hook.
Diffstat (limited to 'executors.py')
| -rw-r--r-- | executors.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/executors.py b/executors.py index 990df03..34528a3 100644 --- a/executors.py +++ b/executors.py @@ -2,33 +2,32 @@ from __future__ import annotations -from abc import ABC, abstractmethod import concurrent.futures as fut -from collections import defaultdict -from dataclasses import dataclass import logging -import numpy import os import platform import random import subprocess import threading import time -from typing import Any, Callable, Dict, List, Optional, Set import warnings +from abc import ABC, abstractmethod +from collections import defaultdict +from dataclasses import dataclass +from typing import Any, Callable, Dict, List, Optional, Set import cloudpickle # type: ignore +import numpy from overrides import overrides -from ansi import bg, fg, underline, reset import argparse_utils import config -from decorator_utils import singleton -from exec_utils import run_silently, cmd_in_background, cmd_with_timeout import histogram as hist +from ansi import bg, fg, reset, underline +from decorator_utils import singleton +from exec_utils import cmd_in_background, cmd_with_timeout, run_silently from thread_utils import background_thread - logger = logging.getLogger(__name__) parser = config.add_commandline_args( |
