mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
sort imports for all libraries starting with dvc_ as a first party (#10371)
dvc_studio_client, dvc_ssh, etc. were not properly sorted.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import pytest
|
||||
from dvc_studio_client.auth import AuthorizationExpiredError
|
||||
|
||||
from dvc import env
|
||||
from dvc.cli import main
|
||||
from dvc.utils.studio import STUDIO_URL
|
||||
from dvc_studio_client.auth import AuthorizationExpiredError
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import pytest
|
||||
from dvc_http import HTTPFileSystem, HTTPSFileSystem
|
||||
from dvc_s3 import S3FileSystem
|
||||
from dvc_ssh import SSHFileSystem
|
||||
|
||||
from dvc.config import RemoteNotFoundError
|
||||
from dvc.fs import LocalFileSystem, get_cloud_fs, get_fs_cls, get_fs_config
|
||||
from dvc_http import HTTPFileSystem, HTTPSFileSystem
|
||||
from dvc_s3 import S3FileSystem
|
||||
from dvc_ssh import SSHFileSystem
|
||||
|
||||
url_cls_pairs = [
|
||||
("s3://bucket/path", S3FileSystem),
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import pytest
|
||||
from dvc_s3 import S3FileSystem
|
||||
|
||||
from dvc import output
|
||||
from dvc.fs import LocalFileSystem
|
||||
from dvc.output import Output
|
||||
from dvc.stage import Stage
|
||||
from dvc_s3 import S3FileSystem
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import pytest
|
||||
from dvc_gs import GSFileSystem
|
||||
from dvc_s3 import S3FileSystem
|
||||
|
||||
from dvc.fs import get_cloud_fs
|
||||
from dvc_gs import GSFileSystem
|
||||
from dvc_s3 import S3FileSystem
|
||||
|
||||
|
||||
def test_remote_with_hash_jobs(dvc):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import pytest
|
||||
from dvc_webdav import WebDAVFileSystem, WebDAVSFileSystem
|
||||
|
||||
from dvc.fs import get_cloud_fs
|
||||
from dvc_webdav import WebDAVFileSystem, WebDAVSFileSystem
|
||||
from tests.utils.asserts import issubset
|
||||
|
||||
url_fmt = "{scheme}://{user}@example.com/public.php/webdav"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
import requests
|
||||
|
||||
from dvc_webhdfs import WebHDFSFileSystem
|
||||
|
||||
host = "host"
|
||||
|
||||
Reference in New Issue
Block a user