Skip to content

Commit

Permalink
fix : requirements-splitter.py updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Dec 31, 2023
1 parent 9eb63ca commit d2527b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Otherfiles/requirements-splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@

with open('dev-requirements.txt', 'r') as f:
for line in f:
plot_lib_flag = False
for lib in PLOT_LIB_LIST:
if line.find(lib) != -1:
plot_lib_flag = True
plot_req += line
break
if '==' not in line:
if '==' not in line and not plot_lib_flag:
test_req += line

with open('test-requirements.txt', 'w') as f:
Expand Down

0 comments on commit d2527b5

Please sign in to comment.