Skip to content

Commit a1a77ba

Browse files
Tim Lanetilne
authored andcommitted
Unpin isort version and make needed changes
Signed-off-by: Tim Lane <[email protected]>
1 parent a03ccfc commit a1a77ba

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

src/common/remote_command_executor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
from math import ceil
1717
from multiprocessing import Pool
1818

19-
from retrying import retry
20-
2119
from paramiko import AutoAddPolicy, SSHClient
20+
from retrying import retry
2221

2322
RemoteCommandResult = collections.namedtuple("RemoteCommandResult", ["return_code", "stdout", "stderr"])
2423

src/common/ssh_keyscan.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
from math import ceil
1717
from multiprocessing import Pool
1818

19-
from common.utils import EventType, run_command
2019
from paramiko import HostKeys, RSAKey, Transport
2120

21+
from common.utils import EventType, run_command
22+
2223

2324
def _get_server_keys(hostname):
2425

tests/common/schedulers/test_sge_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.sge_commands import (
1515
QCONF_COMMANDS,
1616
SgeHost,

tests/common/schedulers/test_slurm_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.slurm_commands import SlurmJob, get_jobs_info, get_pending_jobs_info
1515
from tests.common import read_text
1616

tests/common/schedulers/test_torque_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from unittest.mock import call
1313

1414
import pytest
15-
1615
from assertpy import assert_that
16+
1717
from common.schedulers.torque_commands import (
1818
TorqueHost,
1919
TorqueJob,

tests/jobwatcher/plugins/test_sge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.sge_commands import SGE_HOLD_STATE, SgeHost, SgeJob
1515
from jobwatcher.plugins.sge import get_busy_nodes, get_required_nodes
1616

tests/jobwatcher/plugins/test_slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.slurm_commands import PENDING_RESOURCES_REASONS, SlurmJob, get_pending_jobs_info
1515
from jobwatcher.plugins.slurm import get_required_nodes
1616

tests/jobwatcher/plugins/test_torque.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# limitations under the License.
1111

1212
import pytest
13-
1413
from assertpy import assert_that
14+
1515
from common.schedulers.torque_commands import TorqueHost, TorqueJob, TorqueResourceList
1616
from jobwatcher.plugins.torque import get_busy_nodes, get_required_nodes
1717

tests/nodewatcher/plugins/test_sge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.sge_commands import SGE_HOLD_STATE, SgeHost, SgeJob
1515
from nodewatcher.plugins.sge import has_jobs, has_pending_jobs, is_node_down
1616

tests/nodewatcher/plugins/test_slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
1010
# limitations under the License.
1111
import pytest
12-
1312
from assertpy import assert_that
13+
1414
from common.schedulers.slurm_commands import PENDING_RESOURCES_REASONS, SlurmJob
1515
from nodewatcher.plugins.slurm import has_pending_jobs
1616

0 commit comments

Comments
 (0)