|
1 | 1 | { |
2 | 2 | "name": "xarray-dataclasses", |
3 | | - "image":"python:3.13", |
4 | | - "onCreateCommand": "pip install poetry==1.8.5", |
5 | | - "postCreateCommand": "poetry install", |
| 3 | + "image": "ghcr.io/astral-sh/uv:python3.12-bookworm", |
| 4 | + "runArgs": [ |
| 5 | + "--name=xarray-dataclasses" |
| 6 | + ], |
6 | 7 | "containerEnv": { |
7 | | - "POETRY_VIRTUALENVS_CREATE": "false" |
| 8 | + "UV_PROJECT_ENVIRONMENT": "/usr/local" |
8 | 9 | }, |
| 10 | + "postCreateCommand": "uv sync --frozen", |
9 | 11 | "customizations": { |
10 | 12 | "vscode": { |
11 | 13 | "extensions": [ |
12 | | - "github.vscode-pull-request-github", |
13 | | - "mhutchie.git-graph", |
14 | | - "ms-python.python", |
| 14 | + "ms-python.black-formatter", |
15 | 15 | "streetsidesoftware.code-spell-checker", |
16 | 16 | "tamasfe.even-better-toml" |
17 | 17 | ], |
18 | 18 | "settings": { |
19 | | - "files.insertFinalNewline": true, |
20 | | - "files.trimTrailingWhitespace": true, |
21 | | - "python.formatting.provider": "black", |
22 | 19 | "python.languageServer": "Pylance", |
23 | 20 | "[python]": { |
24 | | - "editor.formatOnSave": true, |
25 | | - "editor.insertSpaces": true, |
26 | | - "editor.tabSize": 4 |
| 21 | + "editor.defaultFormatter": "ms-python.black-formatter", |
| 22 | + "editor.formatOnSave": true |
27 | 23 | } |
28 | 24 | } |
29 | 25 | } |
|
0 commit comments