diff options
author | Daniel Kutik <daniel.kutik@lavawerk.com> | 2022-12-13 12:34:23 +0100 |
---|---|---|
committer | Daniel Kutik <daniel.kutik@lavawerk.com> | 2022-12-13 16:23:19 +0000 |
commit | 035f22abec2263a48770bffbe04e4cfdc443ff41 (patch) | |
tree | e416057cf3c7865438d8544cd538c9fe117f5ec2 /subcmds | |
parent | e0728a5ecdf49f26a0663284acd0fca1099bba15 (diff) | |
download | git-repo-035f22abec2263a48770bffbe04e4cfdc443ff41.tar.gz |
pylint: remove unused imports
Removed unused imports accross multiple files.
Change-Id: Ib5ae4cebf9660e7339b11e3fa592d99f8d51e8d8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354700
Tested-by: Daniel Kutik <daniel.kutik@lavawerk.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds')
-rw-r--r-- | subcmds/init.py | 6 | ||||
-rw-r--r-- | subcmds/manifest.py | 1 | ||||
-rw-r--r-- | subcmds/sync.py | 2 |
3 files changed, 1 insertions, 8 deletions
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 |