mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Data item file renaming
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import os
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.config import Config, ConfigError
|
||||
from dvc.logger import Logger
|
||||
from dvc.path.path_factory import PathFactory
|
||||
from dvc.path.factory import PathFactory
|
||||
from dvc.utils import cached_property
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ from dvc.cmd_base import CmdBase
|
||||
from dvc.cmd_run import CmdRun
|
||||
from dvc.logger import Logger
|
||||
from dvc.exceptions import DvcException
|
||||
from dvc.path.data_path import NotInDataDirError
|
||||
from dvc.path.data_item import NotInDataDirError
|
||||
from dvc.state_file import StateFile
|
||||
from dvc.utils import run
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import os
|
||||
import shutil
|
||||
import fasteners
|
||||
|
||||
from dvc.path.data_path import NotInDataDirError
|
||||
from dvc.path.data_item import NotInDataDirError
|
||||
from dvc.git_wrapper import GitWrapper
|
||||
from dvc.cmd_base import CmdBase
|
||||
from dvc.logger import Logger
|
||||
|
||||
@@ -2,7 +2,6 @@ import os
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
from dvc.path.dvc_path import DvcPath
|
||||
from dvc.exceptions import DvcException
|
||||
from dvc.logger import Logger
|
||||
from dvc.config import Config
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
from dvc.path.dvc_path import DvcPath
|
||||
from dvc.path.path import DvcPath
|
||||
from dvc.exceptions import DvcException
|
||||
from dvc.utils import cached_property
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
|
||||
from dvc.path.data_path import DataPath, DataFilePathError, NotInDataDirError
|
||||
from dvc.path.dvc_path import DvcPath
|
||||
from dvc.path.data_item import DataPath, DataFilePathError, NotInDataDirError
|
||||
from dvc.path.path import DvcPath
|
||||
|
||||
|
||||
class PathFactory(object):
|
||||
+2
-2
@@ -4,8 +4,8 @@ from unittest import TestCase
|
||||
|
||||
from dvc.config import ConfigI
|
||||
from dvc.git_wrapper import GitWrapperI, GitWrapper
|
||||
from dvc.path.data_path import DataPath
|
||||
from dvc.path.path_factory import PathFactory
|
||||
from dvc.path.data_item import DataPath
|
||||
from dvc.path.factory import PathFactory
|
||||
|
||||
|
||||
class BasicEnvironment(TestCase):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
|
||||
from dvc.cmd_data_remove import CmdDataRemove, DataRemoveError
|
||||
from dvc.path.data_path import DataFilePathError
|
||||
from dvc.path.data_item import DataFilePathError
|
||||
from tests.basic_env import DirHierarchyEnvironment
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ import os
|
||||
|
||||
from dvc.config import ConfigI
|
||||
from dvc.git_wrapper import GitWrapperI
|
||||
from dvc.path.data_path import NotInDataDirError, DataFilePathError, DataPath
|
||||
from dvc.path.path_factory import PathFactory
|
||||
from dvc.path.data_item import NotInDataDirError, DataFilePathError, DataPath
|
||||
from dvc.path.factory import PathFactory
|
||||
from tests.basic_env import BasicEnvironment
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import os
|
||||
import shutil
|
||||
from unittest import TestCase
|
||||
|
||||
from dvc.path.dvc_path import DvcPath
|
||||
from dvc.path.path import DvcPath
|
||||
from dvc.git_wrapper import GitWrapperI
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user