Skip to content

Commit 1b5aa8b

Browse files
committed
Address linting failures.
1 parent 1b9a0a0 commit 1b5aa8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pip/_internal/cli/cmdoptions.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
3131

3232
if MYPY_CHECK_RUNNING:
33-
from typing import Any, Callable, Dict, Optional, Tuple
33+
from typing import Any, Callable, Dict, List, Optional, Tuple
3434
from optparse import OptionParser, Values
3535
from pip._internal.cli.parser import ConfigOptionParser
3636

@@ -604,6 +604,8 @@ def add_target_python_options(cmd_opts):
604604

605605

606606
def make_target_python(options):
607+
# type: (Values) -> TargetPython
608+
607609
# abi can be a comma-separated list of values.
608610
abis = options.abi # type: Optional[List[str]]
609611
if options.abi:
@@ -614,7 +616,6 @@ def make_target_python(options):
614616
if options.platform:
615617
platforms = options.platform.split(',')
616618

617-
# type: (Values) -> TargetPython
618619
target_python = TargetPython(
619620
platforms=platforms,
620621
py_version_info=options.python_version,

0 commit comments

Comments
 (0)