|
| 1 | +{ |
| 2 | + "name": "Empathy Framework Dev", |
| 3 | + "dockerComposeFile": "docker-compose.yml", |
| 4 | + "service": "empathy-dev", |
| 5 | + "workspaceFolder": "/workspace", |
| 6 | + |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers/features/git:1": {}, |
| 9 | + "ghcr.io/devcontainers/features/github-cli:1": {} |
| 10 | + }, |
| 11 | + |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + "extensions": [ |
| 15 | + "ms-python.python", |
| 16 | + "ms-python.vscode-pylance", |
| 17 | + "charliermarsh.ruff", |
| 18 | + "ms-python.black-formatter", |
| 19 | + "ms-python.mypy-type-checker", |
| 20 | + "tamasfe.even-better-toml", |
| 21 | + "redhat.vscode-yaml", |
| 22 | + "GitHub.copilot" |
| 23 | + ], |
| 24 | + "settings": { |
| 25 | + "python.defaultInterpreterPath": "/usr/local/bin/python", |
| 26 | + "python.analysis.typeCheckingMode": "basic", |
| 27 | + "editor.formatOnSave": true, |
| 28 | + "editor.codeActionsOnSave": { |
| 29 | + "source.organizeImports": "explicit" |
| 30 | + }, |
| 31 | + "[python]": { |
| 32 | + "editor.defaultFormatter": "charliermarsh.ruff" |
| 33 | + } |
| 34 | + } |
| 35 | + } |
| 36 | + }, |
| 37 | + |
| 38 | + "forwardPorts": [6379, 8000, 3000], |
| 39 | + |
| 40 | + "postCreateCommand": "pip install -e '.[dev,full]' && pre-commit install", |
| 41 | + |
| 42 | + "remoteEnv": { |
| 43 | + "REDIS_URL": "redis://redis:6379", |
| 44 | + "PYTHONPATH": "/workspace/src:/workspace" |
| 45 | + }, |
| 46 | + |
| 47 | + "containerEnv": { |
| 48 | + "PYTHONDONTWRITEBYTECODE": "1", |
| 49 | + "PYTHONUNBUFFERED": "1" |
| 50 | + } |
| 51 | +} |
0 commit comments