From c4fa39fb3a6eebab193c40aa03f7a1f0e2c41a70 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sat, 4 Jan 2025 08:33:45 -0600 Subject: [PATCH] docs(CHANGES) Note PEP 563 compatibility --- CHANGES | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGES b/CHANGES index ea8919a5..3342cf59 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,17 @@ ### Development +#### chore: Implement PEP 563 deferred annotation resolution (#440) + +- Add `from __future__ import annotations` to defer annotation resolution and reduce unnecessary runtime 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/ + +### Development + - Relax `types-docutils` version constraint (#418) ## django-docutils 0.28.0 (2024-12-20)