-
Notifications
You must be signed in to change notification settings - Fork 372
/
meta.json
15 lines (15 loc) · 1.24 KB
/
meta.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"siteUrl": "https://course.spacy.io",
"domain": "course.spacy.io",
"twitter": "spacy_io",
"fonts": "IBM+Plex+Mono:500|IBM+Plex+Sans:700|Lato:400,400i,700,700i",
"testTemplate": "from wasabi import msg\nimport warnings\nfrom black import format_str, FileMode\n\nwarnings.filterwarnings('ignore', message=r'\\[W033\\]', category=UserWarning)\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\nimport warnings\nfrom black import format_str, FileMode\n\nwarnings.filterwarnings('ignore', message=r'\\[W033\\]', category=UserWarning)\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": "explosion/spacy-course",
"branch": "binder",
"kernelType": "python3",
"debug": false
},
"theme": "#09a3d5"
}