summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorDaniel Kutik <daniel.kutik@lavawerk.com>2022-12-13 12:34:23 +0100
committerDaniel Kutik <daniel.kutik@lavawerk.com>2022-12-13 16:23:19 +0000
commit035f22abec2263a48770bffbe04e4cfdc443ff41 (patch)
treee416057cf3c7865438d8544cd538c9fe117f5ec2 /subcmds
parente0728a5ecdf49f26a0663284acd0fca1099bba15 (diff)
downloadgit-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.py6
-rw-r--r--subcmds/manifest.py1
-rw-r--r--subcmds/sync.py2
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
15import os 15import os
16import platform
17import re
18import sys 16import sys
19import urllib.parse
20 17
21from color import Coloring 18from color import Coloring
22from command import InteractiveCommand, MirrorSafeCommand 19from command import InteractiveCommand, MirrorSafeCommand
23from error import ManifestParseError
24from project import SyncBuffer
25from git_config import GitConfig
26from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD 20from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD
27from wrapper import Wrapper 21from 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 @@
15import json 15import json
16import os 16import os
17import sys 17import sys
18import optparse
19 18
20from command import PagedCommand 19from 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
55from project import Project 55from project import Project
56from project import RemoteSpec 56from project import RemoteSpec
57from command import Command, DEFAULT_LOCAL_JOBS, MirrorSafeCommand, WORKER_BATCH_SIZE 57from command import Command, DEFAULT_LOCAL_JOBS, MirrorSafeCommand, WORKER_BATCH_SIZE
58from error import RepoChangedException, GitError, ManifestParseError 58from error import RepoChangedException, GitError
59import platform_utils 59import platform_utils
60from project import SyncBuffer 60from project import SyncBuffer
61from progress import Progress 61from progress import Progress