mirror of https://github.com/pypa/pip
Remove unused imports
This commit is contained in:
parent
51327e9567
commit
54722aa7ec
|
@ -4,7 +4,6 @@ from pip._internal.basecommand import Command
|
|||
from pip._internal.operations.check import (
|
||||
check_package_set, create_package_set_from_installed,
|
||||
)
|
||||
from pip._internal.utils.misc import get_installed_distributions
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ from pip._vendor.six.moves.urllib.parse import unquote as urllib_unquote
|
|||
from pip._vendor.urllib3.util import IS_PYOPENSSL
|
||||
|
||||
import pip
|
||||
from pip._internal.compat import WINDOWS
|
||||
from pip._internal.exceptions import HashMismatch, InstallationError
|
||||
from pip._internal.locations import write_delete_marker_file
|
||||
from pip._internal.models.index import PyPI
|
||||
|
|
|
@ -8,7 +8,7 @@ import site
|
|||
import sys
|
||||
import sysconfig
|
||||
from distutils import sysconfig as distutils_sysconfig
|
||||
from distutils.command.install import SCHEME_KEYS, install # type: ignore
|
||||
from distutils.command.install import SCHEME_KEYS
|
||||
|
||||
from pip._internal.compat import WINDOWS, expanduser
|
||||
from pip._internal.utils import appdirs
|
||||
|
|
|
@ -28,7 +28,7 @@ from pip._internal.compat import native_str
|
|||
from pip._internal.download import (
|
||||
is_archive_file, is_url, path_to_url, url_to_path,
|
||||
)
|
||||
from pip._internal.exceptions import InstallationError, UninstallationError
|
||||
from pip._internal.exceptions import InstallationError
|
||||
from pip._internal.locations import (
|
||||
PIP_DELETE_MARKER_FILENAME, running_under_virtualenv,
|
||||
)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
"""Handles all VCS (version control) support"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import copy
|
||||
import errno
|
||||
import logging
|
||||
import os
|
||||
|
|
|
@ -5,7 +5,6 @@ from __future__ import absolute_import
|
|||
|
||||
import collections
|
||||
import compileall
|
||||
import copy
|
||||
import csv
|
||||
import hashlib
|
||||
import logging
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import os
|
||||
import textwrap
|
||||
|
||||
import pytest
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import pytest
|
||||
|
||||
from tests.lib import assert_all_changes
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import distutils
|
||||
import glob
|
||||
import os
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
Test specific for the --no-color option
|
||||
"""
|
||||
import os
|
||||
import platform
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
|
|
Loading…
Reference in New Issue