From 08ffc8bb269f6062caf9e7d717e8c9abf0f5d4f5 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 4 Jan 2025 08:30:31 -0600 Subject: [PATCH] docs(CHANGES) Note PEP 563 compatibility --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES b/CHANGES index 9d31f0256..00afa77bb 100644 --- a/CHANGES +++ b/CHANGES @@ -15,6 +15,17 @@ $ pip install --user --upgrade --pre libtmux +### Development + +#### chore: Implement PEP 563 deferred annotation resolution (#555) + +- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary symbol computations during type checking +- Enable Ruff checks for PEP-compliant annotations: + - [non-pep585-annotation (UP006)](https://docs.astral.sh/ruff/rules/non-pep585-annotation/) + - [non-pep604-annotation (UP007)](https://docs.astral.sh/ruff/rules/non-pep604-annotation/) + +For more details on PEP 563, see: https://peps.python.org/pep-0563/ + ## libtmux 0.40.1 (2024-12-24) ### Bug fix