Skip to content

Commit

Permalink
sort imports and rebase with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sinscary authored and = committed Sep 27, 2019
1 parent 47b5738 commit 59c1108
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pip/_internal/build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from pip._vendor.pkg_resources import Requirement, VersionConflict, WorkingSet

from pip import __file__ as pip_location
from pip._internal.cli.spinners import open_spinner
from pip._internal.utils.misc import call_subprocess
from pip._internal.utils.temp_dir import TempDirectory
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
from pip._internal.cli.spinners import open_spinner

if MYPY_CHECK_RUNNING:
from typing import Tuple, Set, Iterable, Optional, List
Expand Down
2 changes: 1 addition & 1 deletion src/pip/_internal/cli/cmdoptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
from optparse import SUPPRESS_HELP, Option, OptionGroup
from textwrap import dedent

from pip._internal.cli.progress_bars import BAR_TYPES
from pip._internal.exceptions import CommandError
from pip._internal.locations import USER_CACHE_DIR, get_src_prefix
from pip._internal.models.format_control import FormatControl
from pip._internal.models.index import PyPI
from pip._internal.models.target_python import TargetPython
from pip._internal.utils.hashes import STRONG_HASHES
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
from pip._internal.cli.progress_bars import BAR_TYPES

if MYPY_CHECK_RUNNING:
from typing import Any, Callable, Dict, Optional, Tuple
Expand Down
1 change: 1 addition & 0 deletions src/pip/_internal/cli/spinners.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from pip._internal.utils.compat import WINDOWS
from pip._internal.utils.logging import get_indentation
from pip._internal.utils.typing import MYPY_CHECK_RUNNING

if MYPY_CHECK_RUNNING:
from typing import Iterator, IO

Expand Down
1 change: 1 addition & 0 deletions src/pip/_internal/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
from pip._vendor.six.moves.urllib import parse as urllib_parse

import pip
from pip._internal.cli.progress_bars import DownloadProgressProvider
from pip._internal.exceptions import HashMismatch, InstallationError
from pip._internal.models.index import PyPI
from pip._internal.network.auth import MultiDomainBasicAuth
Expand Down
2 changes: 2 additions & 0 deletions src/pip/_internal/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
from pip._vendor.six import StringIO

from pip._internal import pep425tags
from pip._internal.cli.spinners import open_spinner
from pip._internal.download import unpack_url
from pip._internal.exceptions import (
InstallationError,
InvalidWheelFilename,
Expand Down
5 changes: 5 additions & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import pytest
from mock import Mock, patch

from pip._internal.cli.spinners import SpinnerInterface
from pip._internal.exceptions import (
HashMismatch,
HashMissing,
Expand Down Expand Up @@ -59,7 +60,11 @@
split_auth_netloc_from_url,
)
from pip._internal.utils.setuptools_build import make_setuptools_shim_args
<<<<<<< HEAD
from pip._internal.utils.ui import SpinnerInterface
=======
from pip._internal.utils.temp_dir import AdjacentTempDirectory, TempDirectory
>>>>>>> sort imports and rebase with upstream


class Tests_EgglinkPath:
Expand Down

0 comments on commit 59c1108

Please sign in to comment.