Skip to content

Commit 1d98af4

Browse files
Correct the coding-style in VersionControl.run_command() to use f-string instead of .format(**locals()).
1 parent 199b828 commit 1d98af4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pip/_internal/vcs/versioncontrol.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -690,11 +690,11 @@ def run_command(
690690
# only for another user. So, the current user don't have
691691
# permission to call the other user command.
692692
raise BadCommand(
693-
f'No permission to execute {cls.name!r} - install it '
694-
f'locally, globally (ask admin), or check your PATH. '
695-
f'See possible solutions at '
696-
f'https://pip.pypa.io/en/latest/reference/pip_freeze/'
697-
f'#fixing-permission-denied.'
693+
f"No permission to execute {cls.name!r} - install it "
694+
f"locally, globally (ask admin), or check your PATH. "
695+
f"See possible solutions at "
696+
f"https://pip.pypa.io/en/latest/reference/pip_freeze/"
697+
f"#fixing-permission-denied."
698698
)
699699

700700
@classmethod

0 commit comments

Comments
 (0)