From a8902e34708bb3f6c86bfc3d1cddfe7caa97a066 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 10 Oct 2021 13:47:20 +0800 Subject: Rename config --- config.example.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config.example.py (limited to 'config.example.py') diff --git a/config.example.py b/config.example.py new file mode 100644 index 0000000..9b12328 --- /dev/null +++ b/config.example.py @@ -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 -- cgit v1.2.3