2 Commits

Author SHA1 Message Date
luke-else 8a0c5d5349 fix: Packages now install correcly 2026-04-17 20:09:18 +01:00
luke-else 51f1bef505 feat: Added python devcontainer 2026-04-14 18:17:15 +01:00
+14 -4
View File
@@ -1,14 +1,19 @@
{ {
"name": "TF", "name": "Python",
"runArgs": [ "runArgs": [
"--network=host" "--network=host"
], ],
"image": "git.luke-else.co.uk/luke-else/tf-dev:latest", "image": "git.luke-else.co.uk/luke-else/python-dev:latest",
"remoteUser": "dev", "remoteUser": "dev",
"customizations": { "customizations": {
"vscode": { "vscode": {
"settings": { "settings": {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.analysis.typeCheckingMode": "basic",
"remote.autoForwardPorts": false, "remote.autoForwardPorts": false,
"terminal.integrated.profiles.linux": { "terminal.integrated.profiles.linux": {
"tmux-shell": { "tmux-shell": {
@@ -25,8 +30,13 @@
}, },
"extensions": [ "extensions": [
"ms-azuretools.vscode-docker", "ms-azuretools.vscode-docker",
"opentofu.vscode-opentofu" "ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter",
"charliermarsh.ruff",
"mermaidchart.vscode-mermaid-chart"
] ]
} }
} },
"postCreateCommand": "uv sync"
} }