Skip to content

Commit

Permalink
Update comment per review
Browse files Browse the repository at this point in the history
Co-authored-by: chrysle <96722107+chrysle@users.noreply.github.com>
  • Loading branch information
macro1 and chrysle committed May 8, 2024
1 parent 8a2a9e6 commit 7dbd527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/_compat/pip_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def parse_requirements(
):
install_req = install_req_from_parsed_requirement(parsed_req, isolated=isolated)
if install_req.editable and not parsed_req.requirement.startswith("file://"):
# link.url is what is saved to the output file
# ``Link.url`` is what is saved to the output file
# we set the url directly to undo the transformation in pip's Link class
file_link = FileLink(install_req.link.url)
file_link._url = parsed_req.requirement
Expand Down

0 comments on commit 7dbd527

Please sign in to comment.