File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,18 +125,18 @@ def parse_requirements(
125125def _filename_is_abspath (filename : str ) -> bool :
126126 """
127127 Check if a path is an absolute path, using exactly the normalization
128- used in pip>24.3 in order to ensure consistent results.
128+ used in `` pip>= 24.3`` in order to ensure consistent results.
129129 """
130130 return os .path .abspath (filename ) == filename
131131
132132
133133def _rewrite_absolute_comes_from_location (original_comes_from : str , / ) -> str :
134134 """
135- This is the rewrite rule used when `-r` or `-c` appears in `comes_from` data
136- with an absolute path.
135+ This is the rewrite rule used when `` -r`` or `` -c`` appears in
136+ ``comes_from`` data with an absolute path.
137137
138- The `-r` or `-c` qualifier is retained, and the path is relativized with
139- respect to the CWD.
138+ The `` -r`` or `` -c`` qualifier is retained, and the path is relativized
139+ with respect to the CWD.
140140 """
141141 # require `-r` or `-c` as the source
142142 if not original_comes_from .startswith (("-r " , "-c " )):
You can’t perform that action at this time.
0 commit comments