summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-11 21:15:33 +0800
committerFrederick Yin <fred.yin@sjtu.edu.cn>2021-10-11 21:15:33 +0800
commit9166146cba378f89a9af455c50247b1822d67d9b (patch)
tree10748ef46de562ba16ef970dff29527998efbee8
parent8709d8d15043cb1e84e8e2d98a9de9604f7a21bc (diff)
Updaye config.py
Specify mandatory and optional exercises hgroup number is now zero-padded to two digits
-rw-r--r--config.example.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.example.py b/config.example.py
index 31e40e1..0ff94ed 100644
--- a/config.example.py
+++ b/config.example.py
@@ -1,12 +1,11 @@
"""GENERIC"""
HGROUP_NO = 1
HGROUP_MEMBERS = [("521370910000", "Vladimir Lenin")]
-HGROUP = {f"hgroup-{HGROUP_NO}": HGROUP_MEMBERS}
+HGROUP = {f"hgroup-{HGROUP_NO:02}": HGROUP_MEMBERS}
LANGUAGE = "matlab"
-EXERCISES = [1, 2, 3, 4, 5, 6]
# TODO: figure out how to reliably obtain these two
-MANDATORY_FILES = [f"ex{n}.m" for n in EXERCISES]
-OPTIONAL_FILES = []
+MANDATORY_FILES = [f"ex{n}.m" for n in [2, 4, 5, 6]]
+OPTIONAL_FILES = [f"ex{n}.m" for n in [1, 3]]
"""GITEA"""
# trailing slash not allowed