Sort imports
Using pytest's style.
This commit is contained in:
@@ -6,6 +6,7 @@ from typing import List
|
||||
from typing import Tuple
|
||||
|
||||
import pytest
|
||||
|
||||
import xdist
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import execnet
|
||||
import pytest
|
||||
import shutil
|
||||
from typing import List
|
||||
|
||||
import execnet
|
||||
import pytest
|
||||
|
||||
|
||||
pytest_plugins = "pytester"
|
||||
|
||||
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
from __future__ import annotations
|
||||
from xdist.dsession import (
|
||||
DSession,
|
||||
get_default_max_worker_restart,
|
||||
get_workers_status_line,
|
||||
WorkerStatus,
|
||||
)
|
||||
from xdist.report import report_collection_diff
|
||||
from xdist.scheduler import EachScheduling, LoadScheduling, WorkStealingScheduling
|
||||
|
||||
from typing import Sequence
|
||||
|
||||
import pytest
|
||||
import execnet
|
||||
import pytest
|
||||
|
||||
from xdist.dsession import DSession
|
||||
from xdist.dsession import get_default_max_worker_restart
|
||||
from xdist.dsession import get_workers_status_line
|
||||
from xdist.dsession import WorkerStatus
|
||||
from xdist.report import report_collection_diff
|
||||
from xdist.scheduler import EachScheduling
|
||||
from xdist.scheduler import LoadScheduling
|
||||
from xdist.scheduler import WorkStealingScheduling
|
||||
|
||||
|
||||
class MockGateway:
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import pathlib
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import tempfile
|
||||
import unittest.mock
|
||||
import textwrap
|
||||
from typing import List
|
||||
import unittest.mock
|
||||
|
||||
import pytest
|
||||
import shutil
|
||||
import textwrap
|
||||
from pathlib import Path
|
||||
|
||||
from xdist.looponfail import RemoteControl
|
||||
from xdist.looponfail import StatRecorder
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
from contextlib import suppress
|
||||
import os
|
||||
from pathlib import Path
|
||||
import sys
|
||||
import os
|
||||
|
||||
import execnet
|
||||
from xdist.workermanage import NodeManager
|
||||
|
||||
import pytest
|
||||
|
||||
from xdist.workermanage import NodeManager
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def monkeypatch_3_cpus(monkeypatch: pytest.MonkeyPatch):
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
import marshal
|
||||
import pprint
|
||||
import pytest
|
||||
from queue import Queue
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
from xdist.workermanage import WorkerController
|
||||
import execnet
|
||||
import marshal
|
||||
import pytest
|
||||
|
||||
from xdist.workermanage import WorkerController
|
||||
|
||||
from queue import Queue
|
||||
|
||||
WAIT_TIMEOUT = 10.0
|
||||
|
||||
|
||||
@@ -1,14 +1,19 @@
|
||||
import execnet
|
||||
import pytest
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
import textwrap
|
||||
import warnings
|
||||
from pathlib import Path
|
||||
|
||||
import execnet
|
||||
import pytest
|
||||
from util import generate_warning
|
||||
|
||||
from xdist import workermanage
|
||||
from xdist._path import visit_path
|
||||
from xdist.remote import serialize_warning_message
|
||||
from xdist.workermanage import HostRSync, NodeManager, unserialize_warning_message
|
||||
from xdist.workermanage import HostRSync
|
||||
from xdist.workermanage import NodeManager
|
||||
from xdist.workermanage import unserialize_warning_message
|
||||
|
||||
|
||||
pytest_plugins = "pytester"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user