Skip to content

Commit cb3b9f1

Browse files
committed
Add configuration for GitHub Codespaces
1 parent 1b4af6e commit cb3b9f1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "wordcount",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
4+
"workspaceFolder": "/workspaces/wordcount",
5+
"workspaceMount": "source=${localWorkspaceFolder}/wordcount,target=/workspaces/wordcount,type=bind",
6+
"postCreateCommand": {
7+
"project": "python -m pip install -r requirements.txt -e . && rm -rf src/*.egg-info/",
8+
"help": "echo 'echo -e \"💡 Run \\e[1mpytest --task\\e[0m to display instructions for the current task.\n💡 Run \\e[1mpytest\\e[0m to evaluate your solution and track your progress.\"' >> ~/.bashrc"
9+
},
10+
"customizations": {
11+
"codespaces": {
12+
"openFiles": [
13+
"src/wordcount.py"
14+
]
15+
},
16+
"vscode": {
17+
"extensions": [
18+
"ms-python.python"
19+
]
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)