@@ -27,11 +27,6 @@ def pytest_sessionstart(session):
2727 not_modularized = []
2828
2929 for file in script_files :
30- # pseudo-ignoring bit-version for this purpose
31- if file .name == "bit-version" :
32- python_scripts .append (file )
33- modularized .append (file )
34- continue
3530
3631 # checking if helper script
3732 if file .name .startswith ("helper-bit-" ):
@@ -55,23 +50,25 @@ def pytest_sessionstart(session):
5550
5651 if 'if __name__ == "__main__"' in first_ten :
5752 modularized .append (file )
58- print (file )
5953 else :
6054 not_modularized .append (file )
6155
6256 print ("\n ====================================================================================================" )
6357 print (" ================================= Progress on modularizing scripts =================================" )
6458 print (" ====================================================================================================\n " )
6559
66- print (f" Legacy script files remaining: { len (script_files )} \n " )
60+ print (f" Legacy- script files remaining: { len (script_files )} \n " )
6761 print (f" Total helper scripts: { len (helper_scripts )} " )
6862 print (f" Total bash scripts: { len (bash_scripts )} " )
6963 print (f" Total python scripts: { len (python_scripts )} " )
70- print (f" Python scripts modularized: { len (modularized )} " )
71- print (f" Python scripts not yet modularized: { len (not_modularized )} \n " )
64+ # print(f" Python scripts modularized: {len(modularized)}")
65+ # print(f" Python scripts not yet modularized: {len(not_modularized)}\n")
66+
67+ # if not_modularized:
68+ # print(" Files not yet modularized:\n")
69+ # print_two_columns(not_modularized)
7270
73- if not_modularized :
74- print (" Files not yet modularized:\n " )
75- print_two_columns (not_modularized )
71+ print ("\n Remainig legacy scripts:\n " )
72+ print_two_columns (script_files )
7673
7774 print ("\n ====================================================================================================\n " )
0 commit comments