From 035f22abec2263a48770bffbe04e4cfdc443ff41 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Tue, 13 Dec 2022 12:34:23 +0100 Subject: 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 Reviewed-by: Mike Frysinger --- subcmds/init.py | 6 ------ subcmds/manifest.py | 1 - subcmds/sync.py | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) (limited to 'subcmds') 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 @@ # limitations under the License. import os -import platform -import re import sys -import urllib.parse from color import Coloring from command import InteractiveCommand, MirrorSafeCommand -from error import ManifestParseError -from project import SyncBuffer -from git_config import GitConfig from git_command import git_require, MIN_GIT_VERSION_SOFT, MIN_GIT_VERSION_HARD from wrapper import Wrapper 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 @@ import json import os import sys -import optparse from command import PagedCommand 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 from project import Project from project import RemoteSpec from command import Command, DEFAULT_LOCAL_JOBS, MirrorSafeCommand, WORKER_BATCH_SIZE -from error import RepoChangedException, GitError, ManifestParseError +from error import RepoChangedException, GitError import platform_utils from project import SyncBuffer from progress import Progress -- cgit v1.2.3-54-g00ecf