-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
88 lines (88 loc) · 2.87 KB
/
devcontainer.json
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:1.1.5-ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/powershell:1.5.0": {
"version": "7.4.1"
},
"ghcr.io/devcontainers/features/python:1.6.4": {
"version": "3.11"
},
"ghcr.io/devcontainers/features/desktop-lite:1.2.5": {
"noVncVersion": "1.4.0"
},
"ghcr.io/dhoeric/features/google-cloud-cli:1.0.1": {
"version": "470.0.0"
},
"ghcr.io/joshuanianji/devcontainer-features/gcloud-cli-persistence:1.0.3": {}
},
"onCreateCommand": {
"set-up-profile": [
"pwsh",
"-Command",
"New-Item -Force $PROFILE && Copy-Item dev.ps1 $PROFILE"
]
},
"postCreateCommand": {
"sync-py-in-codespace": [
"pwsh",
"-Command",
"if (Test-Path /.codespaces) { ./Invoke-Uv.ps1 -Sync -Update }"
]
},
"postAttachCommand": { "sync-py": ["./Invoke-Uv.ps1 -Sync -Update"] },
"containerEnv": { "DEVCONTAINER": "1" },
"customizations": {
"vscode": {
"settings": {
"notebook.experimental.remoteSave": true,
"python.experiments.enabled": true,
"python.experiments.optInto": [
"pythonDiscoveryUsingWorkers",
"pythonREPLSmartSend",
"pythonTestAdapter",
"pythonTerminalEnvVarActivation"
],
// ? Not picked up in workspace settings in Codespaces
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.wordWrap": "off"
},
"[ipynb]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.wordWrap": "off"
}
},
"extensions": [
]
}
}
}