mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 00:03:16 +01:00
And env instructions for AI agents (#161665)
This commit is contained in:
4
.github/copilot-instructions.md
vendored
4
.github/copilot-instructions.md
vendored
@@ -192,6 +192,10 @@ This repository contains the core of Home Assistant, a Python 3 based home autom
|
|||||||
|
|
||||||
## Development Commands
|
## 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
|
### Code Quality & Linting
|
||||||
- **Run all linters on all files**: `prek run --all-files`
|
- **Run all linters on all files**: `prek run --all-files`
|
||||||
- **Run linters on staged files only**: `prek run`
|
- **Run linters on staged files only**: `prek run`
|
||||||
|
|||||||
@@ -189,6 +189,10 @@ This repository contains the core of Home Assistant, a Python 3 based home autom
|
|||||||
|
|
||||||
## Development Commands
|
## 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
|
### Code Quality & Linting
|
||||||
- **Run all linters on all files**: `prek run --all-files`
|
- **Run all linters on all files**: `prek run --all-files`
|
||||||
- **Run linters on staged files only**: `prek run`
|
- **Run linters on staged files only**: `prek run`
|
||||||
|
|||||||
Reference in New Issue
Block a user