Skip to content

Commit

Permalink
fix requirements.txt with hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
wronaq committed Apr 5, 2024
1 parent da11701 commit 2a42cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion licensecheck/get_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def resolveExtraReq(extraReq: str) -> ucstr | None:
raise RuntimeError(msg)

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

0 comments on commit 2a42cc8

Please sign in to comment.