mirror of
https://github.com/JonasunderscoreJones/epr_grader.git
synced 2025-10-26 01:39:18 +02:00
Bugfix with folders without python file and lower deduction for module and class docstrings
This commit is contained in:
parent
27a13dacf2
commit
995a0586be
2 changed files with 9 additions and 3 deletions
|
|
@ -290,7 +290,8 @@ def begin_grading(folder: pathlib.Path, ratings_file: pathlib.Path, check_style:
|
|||
if len(violations_checkers) != 0:
|
||||
student_name = f.name.split('_')[0]
|
||||
file_path = os.path.join(f, target_name)
|
||||
update_style_deduction(file_path, violations_checkers[student_name], student_name)
|
||||
if student_name in violations_checkers:
|
||||
update_style_deduction(file_path, violations_checkers[student_name], student_name)
|
||||
print(f'({count}/{len(target_folders)}) Copy in {f.name}')
|
||||
print("Done!")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue