mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 10:59:24 +00:00
declaraing typing fixes handling for agents (#154833)
This commit is contained in:
1
.github/copilot-instructions.md
vendored
1
.github/copilot-instructions.md
vendored
@@ -74,6 +74,7 @@ rules:
|
|||||||
- **Formatting**: Ruff
|
- **Formatting**: Ruff
|
||||||
- **Linting**: PyLint and Ruff
|
- **Linting**: PyLint and Ruff
|
||||||
- **Type Checking**: MyPy
|
- **Type Checking**: MyPy
|
||||||
|
- **Lint/Type/Format Fixes**: Always prefer addressing the underlying issue (e.g., import the typed source, update shared stubs, align with Ruff expectations, or correct formatting at the source) before disabling a rule, adding `# type: ignore`, or skipping a formatter. Treat suppressions and `noqa` comments as a last resort once no compliant fix exists
|
||||||
- **Testing**: pytest with plain functions and fixtures
|
- **Testing**: pytest with plain functions and fixtures
|
||||||
- **Language**: American English for all code, comments, and documentation (use sentence case, including titles)
|
- **Language**: American English for all code, comments, and documentation (use sentence case, including titles)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user