Skip to content

Commit 5fe390b

Browse files
committed
Add devcontainer configuration for Python development environment
Includes setup for VS Code extensions, Python 3.12 image, and Poetry dependency management.
1 parent 693b068 commit 5fe390b

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "evaluatePython",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bookworm",
4+
"postCreateCommand": "pip install poetry==1.8.3 && poetry install",
5+
"forwardPorts": [8080],
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"ms-python.python",
10+
"ms-python.vscode-pylance",
11+
"ms-python.flake8",
12+
"GitHub.copilot",
13+
"GitHub.copilot-chat"
14+
],
15+
"settings": {
16+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
17+
"python.terminal.activateEnvironment": true
18+
}
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)