Skip to content
Snippets Groups Projects
Commit 48627967 authored by tuhe's avatar tuhe
Browse files

Removed many requirements

parent fd14971c
No related branches found
No related tags found
No related merge requests found
tabulate
pydocstyle darglint interrogate
\ No newline at end of file
......@@ -338,15 +338,15 @@ def _run_student_tests(student_dir_base=None, weeks=None, projects=None, fail_if
dd['Points total'].append(val['t1'])
dd['Time taken'].append(int(val['time1']))
try:
# try:
import tabulate
print(tabulate.tabulate(dd, headers='keys'))
except Exception as e:
print("No tabulate so you get the bad version: \n\n")
i = 0
print(" | ".join([k for k in dd]))
while True:
print( " | ".join( [dd[k][i] for k in dd] ) )
i += 1
# except Exception as e:
# print("No tabulate so you get the bad version: \n\n")
# i = 0
# print(" | ".join([k for k in dd]))
# while True:
# print( " | ".join( [dd[k][i] for k in dd] ) )
# i += 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment