Skip to content

Commit

Permalink
Correct the coding-style in VersionControl.run_command() to use f-s…
Browse files Browse the repository at this point in the history
…tring instead of `.format(**locals())`.
  • Loading branch information
laurent-laporte-pro committed Mar 24, 2021
1 parent 35c21e9 commit f162f9d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pip/_internal/vcs/versioncontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f162f9d

Please sign in to comment.