forked from LaansDole/stt-to-medical
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
56 lines (55 loc) · 1.77 KB
/
devcontainer.json
File metadata and controls
56 lines (55 loc) · 1.77 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
{
"name": "WhisperX-FastAPI",
"context": "..",
"dockerFile": "../dockerfile",
"runArgs": ["--gpus", "all"],
"forwardPorts": [8000],
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/dhoeric/features/hadolint:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"github.copilot",
"charliermarsh.ruff",
"github.vscode-github-actions",
"george-alisson.html-preview-vscode",
"prettier.prettier-vscode",
"ms-azuretools.vscode-docker",
"SonarSource.sonarlint-vscode",
],
"settings": {
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true,
"source.organizeImports": true
},
"python.analysis.typeCheckingMode": "basic",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true
},
"ruff.codeAction.disableRuleComment": {
"enable": true
},
"ruff.codeAction.fixViolation": {
"enable": true
},
"ruff.lint.enable": true,
"ruff.format.enable": true,
"python.linting.enabled": true
}
}
},
"postCreateCommand": "chmod +x .devcontainer/post-create.sh && ./.devcontainer/post-create.sh",
"postAttachCommand": "chmod +x .devcontainer/post-attach.sh && ./.devcontainer/post-attach.sh",
"remoteUser": "root"
}