Skip to content
Snippets Groups Projects
Commit e45f8639 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

v.2

parent ca259d05
No related branches found
No related tags found
No related merge requests found
Pipeline #62450 passed with stages
in 59 seconds
......@@ -59,6 +59,8 @@ def read_requirements_txt(path: str = 'requirements.txt'):
lines = (line for line in lines if not line.startswith('http'))
lines = (line for line in lines if line)
lines = (line for line in lines if not line.startwith('--'))
lines = (line.replace('--extra-index-url ', '') for line in lines)
lines = (line.replace('--index-url ', '') for line in lines)
return list(lines)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment