From 49568ab2d529873f50ca0ff49f686f525c15a322 Mon Sep 17 00:00:00 2001 From: Oliver Freund Date: Sat, 5 Nov 2022 15:12:30 -0600 Subject: [PATCH] Fixes for Lint-Issues --- src/pip/_internal/utils/urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pip/_internal/utils/urls.py b/src/pip/_internal/utils/urls.py index 7e6d518cd..4c524c3e8 100644 --- a/src/pip/_internal/utils/urls.py +++ b/src/pip/_internal/utils/urls.py @@ -1,9 +1,9 @@ import os +import re import string import sys import urllib.parse import urllib.request -import re from typing import Optional from .compat import WINDOWS @@ -45,7 +45,8 @@ def url_to_path(url: str) -> str: # do not include traceback as the error message should be self-explaining sys.tracebacklimit = 0 raise ValueError( - f"{url!r} points to the domain '{netloc}'. Non-local file URIs are not supported on this platform. " + f"{url!r} points to the domain '{netloc}'. " + f"Non-local file URIs are not supported on this platform. " f"Did you mean to use {re.sub('(^file:)(/)+','file:/',url)}?" )