|
| 1 | +{ |
| 2 | + "name": "Python", |
| 3 | + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", |
| 4 | + "features": { |
| 5 | + "ghcr.io/devcontainers/features/python:1": { |
| 6 | + "version": "latest", |
| 7 | + "installTools": false, |
| 8 | + "installJupyterlab": false, |
| 9 | + "toolsToInstall": "mypy" |
| 10 | + }, |
| 11 | + "ghcr.io/va-h/devcontainers-features/uv:1": {}, |
| 12 | + "ghcr.io/devcontainers-contrib/features/shfmt:1": {}, |
| 13 | + "ghcr.io/dhoeric/features/hadolint:1": {}, |
| 14 | + "ghcr.io/michidk/devcontainers-features/typos:1": {}, |
| 15 | + "ghcr.io/devcontainers/features/common-utils:2": { |
| 16 | + "configureZshAsDefaultShell": true |
| 17 | + } |
| 18 | + }, |
| 19 | + "postCreateCommand": ".devcontainer/postCreateCommand.sh", |
| 20 | + "remoteUser": "vscode", |
| 21 | + "containerUser": "vscode", |
| 22 | + "customizations": { |
| 23 | + "vscode": { |
| 24 | + "extensions": [ |
| 25 | + "charliermarsh.ruff", |
| 26 | + "exiasr.hadolint", |
| 27 | + "foxundermoon.shell-format", |
| 28 | + "GitHub.copilot", |
| 29 | + "GitHub.vscode-github-actions", |
| 30 | + "Gruntfuggly.todo-tree", |
| 31 | + "ms-azuretools.vscode-docker", |
| 32 | + "ms-python.mypy-type-checker", |
| 33 | + "njpwerner.autodocstring", |
| 34 | + "oderwat.indent-rainbow", |
| 35 | + "tamasfe.even-better-toml", |
| 36 | + "tekumara.typos-vscode", |
| 37 | + "timonwong.shellcheck", |
| 38 | + "-ms-python.vscode-pylance" |
| 39 | + ], |
| 40 | + "settings": { |
| 41 | + "terminal.integrated.defaultProfile.linux": "zsh", |
| 42 | + "python.defaultInterpreterPath": "./.venv/bin/python", |
| 43 | + "[python]": { |
| 44 | + "editor.formatOnSave": true, |
| 45 | + "editor.codeActionsOnSave": { |
| 46 | + "source.fixAll": "explicit", |
| 47 | + "source.organizeImports": "explicit" |
| 48 | + }, |
| 49 | + "editor.defaultFormatter": "charliermarsh.ruff" |
| 50 | + } |
| 51 | + } |
| 52 | + } |
| 53 | + } |
| 54 | +} |
0 commit comments