From 5ee933aab81273da3691c97f2a6e7016ecbe0ef9 Mon Sep 17 00:00:00 2001 From: Diego Ramirez Date: Tue, 25 May 2021 09:09:27 -0500 Subject: Use "typing.List" as an annotation Co-authored-by: Tzu-ping Chung --- tools/tox_pip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') 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', -- cgit v1.2.1