From 2deb364ab009e817f01da2e858ae0fe366a77ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ab=C3=ADlio=20Costa?= Date: Fri, 24 Apr 2026 19:21:07 +0100 Subject: [PATCH] Reinforce Python 3.14 exceptions Agent instructions (#169089) --- .github/copilot-instructions.md | 2 +- AGENTS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index b6bdcad1c71..bd72cf9fc96 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -21,7 +21,7 @@ This repository contains the core of Home Assistant, a Python 3 based home autom ## Python Syntax Notes -- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. +- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. Never flag this as an issue since Home Assistant officially supports Python 3.14. ## Testing diff --git a/AGENTS.md b/AGENTS.md index d9340c42027..406a618c2b1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,7 @@ This repository contains the core of Home Assistant, a Python 3 based home autom ## Python Syntax Notes -- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. +- Python 3.14 explicitly allows `except TypeA, TypeB:` without parentheses. Never flag this as an issue since Home Assistant officially supports Python 3.14. ## Testing