diff --git a/requirements.txt b/requirements.txt index a5d51591ebf67bc53acb1c8481da364dae742a02..0503a24242ffcbb9b63c954eddd33e5ba1dca710 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ tabulate +pydocstyle darglint interrogate \ No newline at end of file diff --git a/src/coursebox_testing/testing/testing.py b/src/coursebox_testing/testing/testing.py index 4f12bf6a6edfdba73a76dc1a08d45bdb30c36e29..0d5bae6c2da2382153cb5176756f9109d86d285f 100644 --- a/src/coursebox_testing/testing/testing.py +++ b/src/coursebox_testing/testing/testing.py @@ -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: - 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 + # 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