Skip to content

Commit

Permalink
Improve syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Xavier Fernandez <[email protected]>
  • Loading branch information
sbidoul and xavfernandez authored Jan 13, 2021
1 parent 9e95016 commit 0c2ac0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/req/constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def parse_editable(editable_req):
link = Link(url)

if not link.is_vcs:
backends = ", ".join([backend.name + '+' for backend in vcs.backends])
backends = ", ".join(f"{backend.name}+" for backend in vcs.backends)
raise InstallationError(
f'{editable_req} is not a valid editable requirement. '
f'It should either be a path to a local project or a VCS URL '
Expand Down

0 comments on commit 0c2ac0b

Please sign in to comment.