Skip to content

Commit 2a42cc8

Browse files
committed
fix requirements.txt with hashes
1 parent da11701 commit 2a42cc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

licensecheck/get_deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def resolveExtraReq(extraReq: str) -> ucstr | None:
142142
raise RuntimeError(msg)
143143

144144
for _line in reqPath.read_text(encoding="utf-8").splitlines():
145-
line = _line.strip()
145+
line = _line.rstrip("\\").strip()
146146
if not line or line[0] in {"#", "-"}:
147147
continue
148148
reqs.add(resolveReq(line))

0 commit comments

Comments
 (0)