summaryrefslogtreecommitdiff
path: root/src/pip/_internal/req/req_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pip/_internal/req/req_install.py')
-rw-r--r--src/pip/_internal/req/req_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pip/_internal/req/req_install.py b/src/pip/_internal/req/req_install.py
index 9419eec49..7f4e974cc 100644
--- a/src/pip/_internal/req/req_install.py
+++ b/src/pip/_internal/req/req_install.py
@@ -349,7 +349,7 @@ class InstallRequirement:
# When parallel builds are enabled, add a UUID to the build directory
# name so multiple builds do not interfere with each other.
- dir_name = canonicalize_name(self.name)
+ dir_name = canonicalize_name(self.name) # type: str
if parallel_builds:
dir_name = f"{dir_name}_{uuid.uuid4().hex}"