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.
9
9
10
10
## [ Unreleased]
11
11
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
+
12
18
## v0.1.2a2 - 2024-10-01
13
19
14
20
### 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:
133
133
student_total_points += test_program .result .points
134
134
print (f"Total: { student_total_points :>5} / { total_points :>5} " )
135
135
136
+ if student_total_points < total_points :
137
+ sys .exit (1 )
138
+
136
139
137
140
cli .add_command (dev )
138
141
cli .add_command (internal )
You can’t perform that action at this time.
0 commit comments