diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 4e7c46d01ec..435baa98c75 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -192,6 +192,10 @@ This repository contains the core of Home Assistant, a Python 3 based home autom ## Development Commands +### Environment +- **Local development (non-container)**: Activate the project venv before running commands: `source .venv/bin/activate` +- **Dev container**: No activation needed, the environment is pre-configured + ### Code Quality & Linting - **Run all linters on all files**: `prek run --all-files` - **Run linters on staged files only**: `prek run` diff --git a/AGENTS.md b/AGENTS.md index 56339fae08c..bcf71447c99 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -189,6 +189,10 @@ This repository contains the core of Home Assistant, a Python 3 based home autom ## Development Commands +### Environment +- **Local development (non-container)**: Activate the project venv before running commands: `source .venv/bin/activate` +- **Dev container**: No activation needed, the environment is pre-configured + ### Code Quality & Linting - **Run all linters on all files**: `prek run --all-files` - **Run linters on staged files only**: `prek run`