This repository was archived by the owner on May 14, 2026. It is now read-only.
forked from Newer1107/tux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
91 lines (91 loc) · 2.77 KB
/
devcontainer.json
File metadata and controls
91 lines (91 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "Tux",
"image": "mcr.microsoft.com/devcontainers/python:2-3.13-bullseye",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"ms-vscode-remote.remote-containers",
"ms-python.python",
"detachhead.basedpyright",
"ms-azuretools.vscode-docker",
"charliermarsh.ruff",
"kevinrose.vsc-python-indent",
"mikestead.dotenv",
"njpwerner.autodocstring",
"usernamehw.errorlens",
"sourcery.sourcery",
"redhat.vscode-yaml",
"ryanluker.vscode-coverage-gutters",
"ms-azuretools.vscode-containers",
"tamasfe.even-better-toml",
"DavidAnson.vscode-markdownlint",
"ms-python.debugpy"
],
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python3",
"python.languageServer": "None",
"python.linting.enabled": true,
"python.formatting.provider": "none",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.executeInFileDir": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"tests"
],
"python.testing.cwd": "${workspaceFolder}",
"python.testing.autoTestDiscoverOnSaveEnabled": false,
"editor.formatOnSave": true,
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.detectIndentation": false,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit"
}
},
"terminal.integrated.cwd": "${workspaceFolder}",
"terminal.integrated.env.linux": {
"PYTHONPATH": "${workspaceFolder}/src"
},
"terminal.integrated.env.osx": {
"PYTHONPATH": "${workspaceFolder}/src"
},
"terminal.integrated.env.windows": {
"PYTHONPATH": "${workspaceFolder}/src"
},
"files.eol": "\n",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true
}
}
},
"postCreateCommand": "bash .devcontainer/post-create.sh",
"postStartCommand": "export PATH=\"$HOME/.cargo/bin:$PATH\"",
"remoteUser": "vscode",
"remoteEnv": {
"PYTHONPATH": "${containerWorkspaceFolder}/src"
},
"forwardPorts": [
8000,
5432
],
"portsAttributes": {
"8000": {
"label": "MkDocs Documentation",
"onAutoForward": "notify"
},
"5432": {
"label": "PostgreSQL",
"onAutoForward": "silent"
}
}
}