forked from marvinsxtr/ml-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.devcontainer.json
41 lines (41 loc) · 1.47 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
{
"dockerFile": "Dockerfile",
"workspaceFolder": "/repo",
"workspaceMount": "source=${localWorkspaceFolder},target=/repo,type=bind",
"customizations": {
"vscode": {
"extensions": [
"ms-python.debugpy",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.mypy-type-checker",
"charliermarsh.ruff",
"tamasfe.even-better-toml",
"ms-azuretools.vscode-docker",
"ms-toolsai.jupyter",
"kevinrose.vsc-python-indent",
"mosapride.zenkaku",
"njpwerner.autodocstring",
"redhat.vscode-yaml",
"shardulm94.trailing-spaces",
"yzhang.markdown-all-in-one"
],
"settings": {
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": { "bash": { "path": "/bin/bash" } }
}
}
},
"postCreateCommand": "uv sync --frozen",
"postStartCommand": "uv run pre-commit install",
"remoteEnv": {
"PYTHONPATH": "${containerEnv:PYTHONPATH}:/repo"
}
}