-
Notifications
You must be signed in to change notification settings - Fork 11
Update devcontainer setup and tooling configs #707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,21 +1,21 @@ | ||||
| { | ||||
| "name": "lock_code_manager Dev", | ||||
| "image": "mcr.microsoft.com/devcontainers/base:ubuntu", | ||||
| "image": "mcr.microsoft.com/devcontainers/python:1-3.13", | ||||
| "forwardPorts": [8123], | ||||
| "features": { | ||||
| "ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}, | ||||
| "ghcr.io/devcontainers/features/github-cli:1": {}, | ||||
| "ghcr.io/devcontainers/features/node:1": { | ||||
| "version": "lts" | ||||
| }, | ||||
| "ghcr.io/devcontainers/features/python:1": { | ||||
| "version": "3.13", | ||||
| "installTools": false | ||||
| } | ||||
| "ghcr.io/devcontainers/features/rust:1": {} | ||||
| }, | ||||
| "containerEnv": { | ||||
| "DEVCONTAINER": "1", | ||||
| "PIP_BREAK_SYSTEM_PACKAGES": "1" | ||||
| }, | ||||
| "postCreateCommand": "scripts/setup-devcontainer", | ||||
| "postStartCommand": "scripts/setup-devcontainer", | ||||
|
||||
| "postStartCommand": "scripts/setup-devcontainer", |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -8,6 +8,8 @@ | |||
| "module": "homeassistant", | ||||
| "args": ["--debug", "--config", "${workspaceFolder}/.ha"], | ||||
| "cwd": "${workspaceFolder}/.ha", | ||||
| "python": "${workspaceFolder}/.ha/venv/bin/python", | ||||
| "pythonPath": "${workspaceFolder}/.ha/venv/bin/python", | ||||
|
||||
| "pythonPath": "${workspaceFolder}/.ha/venv/bin/python", |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "Run Home Assistant (venv)", | ||
| "type": "shell", | ||
| "command": "${workspaceFolder}/.ha/venv/bin/python", | ||
| "args": [ | ||
| "-m", | ||
| "homeassistant", | ||
| "--debug", | ||
| "--config", | ||
| "${workspaceFolder}/.ha" | ||
| ], | ||
| "options": { | ||
| "cwd": "${workspaceFolder}/.ha" | ||
| }, | ||
| "problemMatcher": [] | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Rust feature is added but there's no evidence of Rust code in the repository (no Cargo.toml or .rs files). While Rust might be needed to build certain Python packages with native extensions, or for the uv tool itself (which is written in Rust), uv is typically distributed as a prebuilt binary and doesn't require Rust at runtime. Consider whether this feature is actually needed, as it adds unnecessary dependencies to the development container.