-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmeta.json
15 lines (15 loc) · 1.07 KB
/
meta.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"siteUrl": "https://https://ml-learn.mds.ubc.ca/",
"twitter": "UBCMDS",
"fonts": "IBM+Plex+Mono:500|IBM+Plex+Sans:700|Lato:400,400i,700,700i",
"testTemplate": "from wasabi import msg\nfrom black import format_str, FileMode\n\nfile_mode = FileMode()\n\ndef blacken(code):\n try:\n return format_str(code, mode=file_mode)\n except:\n return code\n\n__msg__ = msg\n__solution__ = blacken(\"\"\"${solution}\"\"\")\n\n${solution}\n\n${test}\n\ntry:\n test()\nexcept AssertionError as e:\n __msg__.fail(e)",
"pytestTemplate": "from wasabi import msg\nfrom black import format_str, FileMode\n\nfile_mode = FileMode()\n\ndef blacken(code):\n try:\n return format_str(code, mode=file_mode)\n except:\n return code\n\n__msg__ = msg\n__solution__ = blacken(\"\"\"${solution}\"\"\")\n\n${solution}\n\n${test}\n\ntest()",
"juniper": {
"repo": "UBC-MDS/introduction-machine-learning",
"branch": "binder",
"lang": "python",
"kernelType": "python3",
"debug": false
},
"theme": "#0E76BC"
}