-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
38 lines (38 loc) · 1.4 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
{
"name": "dolfiny",
"customizations": {
"vscode": {
"extensions": [
"charliermarsh.ruff",
"ms-python.mypy-type-checker",
"tamasfe.even-better-toml",
"gitlab.gitlab-workflow"
],
"settings": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit",
"source.fixAll": "explicit"
},
"remote.autoForwardPorts": false,
"ruff.nativeServer": true,
"mypy-type-checker.preferDaemon": true,
"mypy-type-checker.reportingScope": "workspace",
"python.analysis.extraPaths": ["test"],
"python.venvPath": "/dolfinx-env"
}
}
},
"image": "dolfinx/dolfinx:nightly",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
},
"remoteUser": "ubuntu",
"remoteEnv": {
"PIP_INDEX_URL": "https://gitlab.com/api/v4/projects/59503118/packages/pypi/simple",
"EXTRA_CLING_ARGS": "-O2",
"PYTHONPYCACHEPREFIX": "/home/ubuntu/.cache/cpython"
},
"postCreateCommand": "sudo chown ubuntu:ubuntu -R /dolfinx-env && pip3 install --editable .[all] && python3 -c 'import cppyy'"
}