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>
This commit is contained in:
Daniel Kutik 2022-12-13 12:34:23 +01:00
parent e0728a5ecd
commit 035f22abec
8 changed files with 3 additions and 13 deletions

View File

@ -31,7 +31,7 @@ from typing import NamedTuple
from git_command import git_require, GitCommand
from git_config import RepoConfig
from git_refs import R_HEADS, GitRefs
from git_refs import GitRefs
_SUPERPROJECT_GIT_NAME = 'superproject.git'
_SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml'

View File

@ -14,7 +14,6 @@
import os
import multiprocessing
import platform
import re
import sys
import time

View File

@ -22,7 +22,7 @@ import xml.dom.minidom
import urllib.parse
import gitc_utils
from git_config import GitConfig, IsId
from git_config import GitConfig
from git_refs import R_HEADS, HEAD
from git_superproject import Superproject
import platform_utils

View File

@ -15,7 +15,6 @@
"""Wrapper to run pytest with the right settings."""
import errno
import os
import shutil
import subprocess

View File

@ -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

View File

@ -15,7 +15,6 @@
import json
import os
import sys
import optparse
from command import PagedCommand

View File

@ -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

View File

@ -21,7 +21,6 @@ import tempfile
import unittest
from unittest import mock
from git_command import GitCommand
import git_superproject
import git_trace2_event_log
import manifest_xml