summaryrefslogtreecommitdiff
path: root/config.py.example
diff options
context:
space:
mode:
Diffstat (limited to 'config.py.example')
-rw-r--r--config.py.example21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.py.example b/config.py.example
new file mode 100644
index 0000000..9b12328
--- /dev/null
+++ b/config.py.example
@@ -0,0 +1,21 @@
+"""GENERIC"""
+HGROUP_NO = 1
+HGROUP_MEMBERS = [("521370910000", "Vladimir Lenin")]
+HGROUP = {f"hgroup-{HGROUP_NO}": HGROUP_MEMBERS}
+LANGUAGE = "matlab"
+HOMEWORK_NO = 2
+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 = []
+
+"""GITEA"""
+# trailing slash not allowed
+GITEA_API_BASE = "https://focs.ji.sjtu.edu.cn/git/api/v1"
+GITEA_ORG = "ENGR151-21"
+GITEA_TOKEN = ""
+
+"""JOJ"""
+JOJ_COURSE_ID = "vg151_fall_2021_manuel"
+JOJ_SESSION_ID = ""
+JOJ_HOMEWORK_ID = "615542bfb3c06a0006f45dd6" # h2