diff options
-rw-r--r-- | git_superproject.py | 2 | ||||
-rw-r--r-- | gitc_utils.py | 1 | ||||
-rw-r--r-- | manifest_xml.py | 2 | ||||
-rwxr-xr-x | run_tests | 1 | ||||
-rw-r--r-- | subcmds/init.py | 6 | ||||
-rw-r--r-- | subcmds/manifest.py | 1 | ||||
-rw-r--r-- | subcmds/sync.py | 2 | ||||
-rw-r--r-- | tests/test_git_superproject.py | 1 |
8 files changed, 3 insertions, 13 deletions
diff --git a/git_superproject.py b/git_superproject.py index 7a4ca16b..b5c262b4 100644 --- a/git_superproject.py +++ b/git_superproject.py | |||
@@ -31,7 +31,7 @@ from typing import NamedTuple | |||
31 | 31 | ||
32 | from git_command import git_require, GitCommand | 32 | from git_command import git_require, GitCommand |
33 | from git_config import RepoConfig | 33 | from git_config import RepoConfig |
34 | from git_refs import R_HEADS, GitRefs | 34 | from git_refs import GitRefs |
35 | 35 | ||
36 | _SUPERPROJECT_GIT_NAME = 'superproject.git' | 36 | _SUPERPROJECT_GIT_NAME = 'superproject.git' |
37 | _SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml' | 37 | _SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml' |
diff --git a/gitc_utils.py b/gitc_utils.py index 486bbeb0..dfcfd2a4 100644 --- a/gitc_utils.py +++ b/gitc_utils.py | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | import os | 15 | import os |
16 | import multiprocessing | 16 | import multiprocessing |
17 | import platform | ||
18 | import re | 17 | import re |
19 | import sys | 18 | import sys |
20 | import time | 19 | import time |
diff --git a/manifest_xml.py b/manifest_xml.py index 129eb3f7..5b83f368 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -22,7 +22,7 @@ import xml.dom.minidom | |||
22 | import urllib.parse | 22 | import urllib.parse |
23 | 23 | ||
24 | import gitc_utils | 24 | import gitc_utils |
25 | from git_config import GitConfig, IsId | 25 | from git_config import GitConfig |
26 | from git_refs import R_HEADS, HEAD | 26 | from git_refs import R_HEADS, HEAD |
27 | from git_superproject import Superproject | 27 | from git_superproject import Superproject |
28 | import platform_utils | 28 | import platform_utils |
@@ -15,7 +15,6 @@ | |||
15 | 15 | ||
16 | """Wrapper to run pytest with the right settings.""" | 16 | """Wrapper to run pytest with the right settings.""" |
17 | 17 | ||
18 | import errno | ||
19 | import os | 18 | import os |
20 | import shutil | 19 | import shutil |
21 | import subprocess | 20 | import subprocess |
diff --git a/subcmds/init.py b/subcmds/init.py index 0c979cd4..d732374d 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -13,16 +13,10 @@ | |||
13 | # limitations under the License. | 13 | # limitations under the License. |
14 | 14 | ||
15 | import os | 15 | import os |
16 | import platform | ||
17 | import re | ||
18 | import sys | 16 | import sys |
19 | import urllib.parse | ||
20 | 17 | ||
21 | from color import Coloring | 18 | from color import Coloring |
22 | from command import InteractiveCommand, MirrorSafeCommand | 19 | from command import InteractiveCommand, MirrorSafeCommand |
23 | from error import ManifestParseError | ||
24 | from project import SyncBuffer | ||
25 | from git_config import GitConfig | ||
26 | from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD | 20 | from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD |
27 | from wrapper import Wrapper | 21 | from wrapper import Wrapper |
28 | 22 | ||
diff --git a/subcmds/manifest.py b/subcmds/manifest.py index 08905cb4..f4602a59 100644 --- a/subcmds/manifest.py +++ b/subcmds/manifest.py | |||
@@ -15,7 +15,6 @@ | |||
15 | import json | 15 | import json |
16 | import os | 16 | import os |
17 | import sys | 17 | import sys |
18 | import optparse | ||
19 | 18 | ||
20 | from command import PagedCommand | 19 | from command import PagedCommand |
21 | 20 | ||
diff --git a/subcmds/sync.py b/subcmds/sync.py index e4e7a971..8db429bf 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -55,7 +55,7 @@ import gitc_utils | |||
55 | from project import Project | 55 | from project import Project |
56 | from project import RemoteSpec | 56 | from project import RemoteSpec |
57 | from command import Command, DEFAULT_LOCAL_JOBS, MirrorSafeCommand, WORKER_BATCH_SIZE | 57 | from command import Command, DEFAULT_LOCAL_JOBS, MirrorSafeCommand, WORKER_BATCH_SIZE |
58 | from error import RepoChangedException, GitError, ManifestParseError | 58 | from error import RepoChangedException, GitError |
59 | import platform_utils | 59 | import platform_utils |
60 | from project import SyncBuffer | 60 | from project import SyncBuffer |
61 | from progress import Progress | 61 | from progress import Progress |
diff --git a/tests/test_git_superproject.py b/tests/test_git_superproject.py index 49295d83..0bdf1a4e 100644 --- a/tests/test_git_superproject.py +++ b/tests/test_git_superproject.py | |||
@@ -21,7 +21,6 @@ import tempfile | |||
21 | import unittest | 21 | import unittest |
22 | from unittest import mock | 22 | from unittest import mock |
23 | 23 | ||
24 | from git_command import GitCommand | ||
25 | import git_superproject | 24 | import git_superproject |
26 | import git_trace2_event_log | 25 | import git_trace2_event_log |
27 | import manifest_xml | 26 | import manifest_xml |