File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1515
1616.devcontainer/devcontainer.json :
1717 run_services : ["app"]
18+ # see https://github.com/astral-sh/ruff-vscode/releases
1819 # renovate: datasource=github-releases depName=astral-sh/ruff-vscode
1920 vscode_ruff : " 2025.30.0"
2021
@@ -23,6 +24,7 @@ compose.yaml:
2324 require_postgres : false
2425
2526Dockerfile :
27+ # see https://github.com/astral-sh/uv/releases
2628 # renovate: datasource=github-releases depName=astral-sh/uv
2729 uv_version : " 0.9.13"
2830
Original file line number Diff line number Diff line change 2121 // features to be installed in the dev container
2222 "features": {
2323 "ghcr.io/devcontainers/features/common-utils:2": {},
24- "ghcr.io/devcontainers/features/git:1": {}
24+ "ghcr.io/devcontainers/features/git:1": {},
25+ "ghcr.io/jsburckhardt/devcontainer-features/ruff:1": {
26+ "version": "v<%= @configs['ruff_version'] -%> "
27+ }
2528 },
2629 // configure vscode
2730 "customizations": {
6669 "includeAllSymbols": true
6770 }
6871 ],
72+ // use ruff from environment to keep control of version
73+ "ruff.importStrategy": "fromEnvironment",
6974 // don't activate the virtual environment every time as we're using the env binary
7075 "python.terminal.activateEnvironment": false,
7176 "python.terminal.activateEnvInCurrentTerminal": true,
You can’t perform that action at this time.
0 commit comments