|
| 1 | +{ |
| 2 | + "customizations": { |
| 3 | + "codespaces": { |
| 4 | + "openFiles": [ |
| 5 | + "README.md", |
| 6 | + "CONTRIBUTING.md" |
| 7 | + ] |
| 8 | + }, |
| 9 | + "vscode": { |
| 10 | + "extensions": [ |
| 11 | + "ms-python.python", |
| 12 | + "redhat.vscode-yaml", |
| 13 | + "esbenp.prettier-vscode", |
| 14 | + "GitHub.vscode-pull-request-github", |
| 15 | + "charliermarsh.ruff", |
| 16 | + "GitHub.vscode-github-actions", |
| 17 | + "ryanluker.vscode-coverage-gutters" |
| 18 | + ], |
| 19 | + "settings": { |
| 20 | + "[python]": { |
| 21 | + "editor.codeActionsOnSave": { |
| 22 | + "source.fixAll": "always", |
| 23 | + "source.organizeImports": "always" |
| 24 | + } |
| 25 | + }, |
| 26 | + "coverage-gutters.customizable.context-menu": true, |
| 27 | + "coverage-gutters.customizable.status-bar-toggler-watchCoverageAndVisibleEditors-enabled": true, |
| 28 | + "coverage-gutters.showGutterCoverage": false, |
| 29 | + "coverage-gutters.showLineCoverage": true, |
| 30 | + "coverage-gutters.xmlname": "coverage.xml", |
| 31 | + "python.analysis.extraPaths": [ |
| 32 | + "${workspaceFolder}/src" |
| 33 | + ], |
| 34 | + "python.defaultInterpreterPath": ".venv/bin/python", |
| 35 | + "python.formatting.provider": "black", |
| 36 | + "python.linting.enabled": true, |
| 37 | + "python.linting.mypyEnabled": true, |
| 38 | + "python.linting.pylintEnabled": true, |
| 39 | + "python.testing.cwd": "${workspaceFolder}", |
| 40 | + "python.testing.pytestArgs": [ |
| 41 | + "--cov-report=xml" |
| 42 | + ], |
| 43 | + "python.testing.pytestEnabled": true, |
| 44 | + "ruff.importStrategy": "fromEnvironment", |
| 45 | + "ruff.interpreter": [ |
| 46 | + ".venv/bin/python" |
| 47 | + ], |
| 48 | + "terminal.integrated.defaultProfile.linux": "zsh" |
| 49 | + } |
| 50 | + } |
| 51 | + }, |
| 52 | + "features": { |
| 53 | + "ghcr.io/devcontainers-contrib/features/poetry:2": {}, |
| 54 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 55 | + "ghcr.io/devcontainers/features/node:1": {}, |
| 56 | + "ghcr.io/devcontainers/features/python:1": { |
| 57 | + "installTools": false |
| 58 | + } |
| 59 | + }, |
| 60 | + "image": "mcr.microsoft.com/vscode/devcontainers/python:3.12", |
| 61 | + "name": "PyTado", |
| 62 | + "postStartCommand": "bash scripts/bootstrap", |
| 63 | + "updateContentCommand": "bash scripts/bootstrap", |
| 64 | + "containerUser": "vscode", |
| 65 | + "remoteUser": "vscode", |
| 66 | + "updateRemoteUserUID": true, |
| 67 | + "containerEnv": { |
| 68 | + "HOME": "/home/vscode" |
| 69 | + } |
| 70 | +} |
0 commit comments