-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
60 lines (52 loc) · 1.81 KB
/
devcontainer.json
File metadata and controls
60 lines (52 loc) · 1.81 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
54
55
56
57
58
59
60
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
"build": {
"dockerfile": "../Dockerfile",
"context": "..",
"args": {
"PYTHON_VERSION": "3.13"
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers-extra/features/shfmt:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// Install remaining packages from requirements, i.e. editable (local) packages
"postCreateCommand": "grep -E '(^-e)' requirements.txt | pip install -r /dev/stdin && pip install -e .[all]",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"davidanson.vscode-markdownlint",
"dorzey.vscode-sqlfluff",
"esbenp.prettier-vscode",
"mhutchie.git-graph",
"mkhl.shfmt",
"ms-python.black-formatter",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-toolsai.datawrangler",
"ms-toolsai.jupyter",
"ms-vscode.live-server",
"njpwerner.autodocstring",
"sonarsource.sonarlint-vscode",
"tamasfe.even-better-toml",
"tekumara.typos-vscode",
"yzhang.markdown-all-in-one"
]
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
"remoteEnv": {
"PROJ_ROOT": "${containerWorkspaceFolder}",
"MATPLOTLIBRC": "${containerWorkspaceFolder}/matplotlibrc"
}
// "runArgs": ["--env-file", ".env"]
}