-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.devcontainer.json
More file actions
53 lines (48 loc) · 1.91 KB
/
Copy path.devcontainer.json
File metadata and controls
53 lines (48 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3
{
"name": "Python 3",
"image": "mcr.microsoft.com/vscode/devcontainers/python:3",
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"python.defaultInterpreterPath": ".venv/bin/python",
"keyboard.layout": "com.apple.keylayout.German",
"telemetry.telemetryLevel": "off",
"workbench.colorTheme": "GitHub Dark",
"files.autoSave": "afterDelay",
"git.autofetch": true,
"git.confirmSync": false,
"python.analysis.typeCheckingMode": "standard",
"chat.agent.enabled": true,
"chat.mcp.enabled": true,
"mcp": {
"servers": {
"DeepWiki": {
"url": "https://mcp.deepwiki.com/sse"
}
}
}
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"ms-python.mypy-type-checker",
"github.copilot",
"github.copilot-chat",
"github.github-vscode-theme",
"tamasfe.even-better-toml",
// opt-out from auto-installed extensions
"-ms-python.autopep8",
"-dbaeumer.vscode-eslint"
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "uv sync --frozen && uv tool install pre-commit --with pre-commit-uv && pre-commit install",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"ghcr.io/va-h/devcontainers-features/uv:1": {}
}
}