summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDiego Ramirez <dr01191115@gmail.com>2021-05-25 09:09:27 -0500
committerGitHub <noreply@github.com>2021-05-25 22:09:27 +0800
commit5ee933aab81273da3691c97f2a6e7016ecbe0ef9 (patch)
tree35cf120bd7a6f788452e2c9abf63ed2424ec6f41 /tools
parent0a49dd913f673b8abb7c597d58f0e26d24dc34bc (diff)
downloadpip-5ee933aab81273da3691c97f2a6e7016ecbe0ef9.tar.gz
Use "typing.List" as an annotation
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/tox_pip.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/tox_pip.py b/tools/tox_pip.py
index fe7621342..6a0e2dae9 100644
--- a/tools/tox_pip.py
+++ b/tools/tox_pip.py
@@ -9,8 +9,7 @@ VIRTUAL_ENV = os.environ['VIRTUAL_ENV']
TOX_PIP_DIR = os.path.join(VIRTUAL_ENV, 'pip')
-def pip(args):
- # type: (List[str]) -> None
+def pip(args: List[str]) -> None:
# First things first, get a recent (stable) version of pip.
if not os.path.exists(TOX_PIP_DIR):
subprocess.check_call([sys.executable, '-m', 'pip',