-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
53 lines (53 loc) · 1.65 KB
/
devcontainer.json
File metadata and controls
53 lines (53 loc) · 1.65 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
{
"name": "{{ cookiecutter.project_name }}",
"dockerComposeFile": "docker-compose.yml",
"service": "dev",
"workspaceFolder": "/workspace",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/task:1": {},
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
},
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/app/.venv/bin/python",
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.linting.enabled": false,
"python.analysis.typeCheckingMode": "basic",
"editor.rulers": [120]
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"tamasfe.even-better-toml",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker",
"GitHub.vscode-pull-request-github",
"GitHub.copilot"
]
}
},
"postCreateCommand": "cd /workspace && task init",
"postStartCommand": "git config --global --add safe.directory /workspace",
"containerEnv": {
"DEV_MODE": "true",
"PYTHONPATH": "/workspace/src"
},
"remoteUser": "root"
}