From adc675fa9209ec1830fcea3c622562e722b60b44 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 23 Oct 2024 14:54:21 +0100 Subject: [PATCH] Modernizing guide: also mention `com2ann` (#1869) Small followup to #1868 This guide mentions type comments as one of the older typing features that you might like to modernize; as far as I know, `com2ann` is still the best tool for auto-converting these to Python-3 type annotations. --- docs/guides/modernizing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/guides/modernizing.rst b/docs/guides/modernizing.rst index db5d81e8..279febd6 100644 --- a/docs/guides/modernizing.rst +++ b/docs/guides/modernizing.rst @@ -26,8 +26,9 @@ available using quoting. .. tip:: - Tools such as `pyupgrade `__ or - `ruff `__ can automatically perform + Tools such as `pyupgrade `__, + `ruff `__ and/or + `com2ann `__ can automatically perform these refactorings for you. .. note::