From f162f9d849c835a1407e4ff394c08541d56ed14f Mon Sep 17 00:00:00 2001 From: Laurent LAPORTE Date: Mon, 11 Jan 2021 09:00:18 +0100 Subject: [PATCH] Correct the coding-style in `VersionControl.run_command()` to use f-string instead of `.format(**locals())`. --- src/pip/_internal/vcs/versioncontrol.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pip/_internal/vcs/versioncontrol.py b/src/pip/_internal/vcs/versioncontrol.py index 0ba0d86c500..cd6213bb132 100644 --- a/src/pip/_internal/vcs/versioncontrol.py +++ b/src/pip/_internal/vcs/versioncontrol.py @@ -690,11 +690,11 @@ def run_command( # only for another user. So, the current user don't have # permission to call the other user command. raise BadCommand( - f'No permission to execute {cls.name!r} - install it ' - f'locally, globally (ask admin), or check your PATH. ' - f'See possible solutions at ' - f'https://pip.pypa.io/en/latest/reference/pip_freeze/' - f'#fixing-permission-denied.' + f"No permission to execute {cls.name!r} - install it " + f"locally, globally (ask admin), or check your PATH. " + f"See possible solutions at " + f"https://pip.pypa.io/en/latest/reference/pip_freeze/" + f"#fixing-permission-denied." ) @classmethod