File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ Note that the log for version before v0.1.1 may not be in the mentioned format.
99
1010## [ Unreleased]
1111
12+ ## v0.1.2a3 - 2024-10-01
13+
14+ ### Changed
15+
16+ - Add non-zero exit code when the points is less than the total points.
17+
1218## v0.1.2a2 - 2024-10-01
1319
1420### Changed
Original file line number Diff line number Diff line change 1- 0.1.2a2
1+ 0.1.2a3
Original file line number Diff line number Diff line change @@ -133,6 +133,9 @@ def grade_command(path: str | Path) -> None:
133133 student_total_points += test_program .result .points
134134 print (f"Total: { student_total_points :>5} / { total_points :>5} " )
135135
136+ if student_total_points < total_points :
137+ sys .exit (1 )
138+
136139
137140cli .add_command (dev )
138141cli .add_command (internal )
You can’t perform that action at this time.
0 commit comments