|
9 | 9 | // Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6 |
10 | 10 | // Append -bullseye or -buster to pin to an OS version. |
11 | 11 | // Use -bullseye variants on local on arm64/Apple Silicon. |
12 | | - "VARIANT": "3.10-bullseye", |
| 12 | + "VARIANT": "3.14-bullseye", |
13 | 13 | // Options |
14 | 14 | "NODE_VERSION": "none" |
15 | 15 | } |
|
21 | 21 | "vscode": { |
22 | 22 | // Set *default* container specific settings.json values on container create. |
23 | 23 | "settings": { |
24 | | - "python.defaultInterpreterPath": "/usr/local/bin/python", |
25 | | - "python.linting.enabled": true, |
26 | | - "python.linting.pylintEnabled": true, |
27 | | - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
28 | | - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", |
29 | | - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", |
30 | | - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", |
31 | | - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", |
32 | | - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", |
33 | | - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
34 | | - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
35 | | - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" |
| 24 | + "python.autoComplete.extraPaths": ["/workspaces"], |
| 25 | + "python.defaultInterpreterPath": "/usr/local/bin/python" |
36 | 26 | }, |
37 | 27 |
|
38 | 28 | // Add the IDs of extensions you want installed when the container is created. |
39 | 29 | "extensions": [ |
40 | 30 | "ms-python.python", |
41 | | - "ms-python.vscode-pylance" |
| 31 | + "ms-python.vscode-pylance", |
| 32 | + "Anthropic.claude-code", |
| 33 | + "charliermarsh.ruff" |
42 | 34 | ] |
43 | 35 | } |
44 | 36 | }, |
|
47 | 39 | // "forwardPorts": [], |
48 | 40 |
|
49 | 41 | // Use 'postCreateCommand' to run commands after the container is created. |
50 | | - "postCreateCommand": "python -m pip install --upgrade pip && pip3 install --user -r requirements.txt", |
| 42 | + "postCreateCommand": "uv sync --all-groups", |
51 | 43 |
|
52 | 44 | // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
53 | 45 | "remoteUser": "vscode" |
|
0 commit comments