From c261d39f99979e0af797f80ca56d037ebdacfdfb Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 27 Jan 2026 16:24:08 +0100 Subject: [PATCH] And env instructions for AI agents (#161665) --- .github/copilot-instructions.md | 4 ++++ AGENTS.md | 4 ++++ 2 files changed, 8 insertions(+) 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`