Files
.devcontainer/devcontainer.json

42 lines
1.3 KiB
JSON

{
"name": "Python",
"runArgs": [
"--network=host"
],
"image": "git.luke-else.co.uk/luke-else/python-dev:latest",
"remoteUser": "dev",
"customizations": {
"vscode": {
"settings": {
"editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.analysis.typeCheckingMode": "basic",
"remote.autoForwardPorts": false,
"terminal.integrated.profiles.linux": {
"tmux-shell": {
"path": "tmux",
"args": [
"new-session",
"-A",
"-s",
"dev"
]
}
},
"terminal.integrated.defaultProfile.linux": "tmux-shell"
}
},
"extensions": [
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"charliermarsh.ruff",
"mermaidchart.vscode-mermaid-chart"
]
},
"postCreateCommand": "uv sync"
}