Skip to content

Commit adc675f

Browse files
authored
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.
1 parent af4693a commit adc675f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/guides/modernizing.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ available using quoting.
2626

2727
.. tip::
2828

29-
Tools such as `pyupgrade <https://pypi.org/project/pyupgrade/>`__ or
30-
`ruff <https://pypi.org/project/ruff/>`__ can automatically perform
29+
Tools such as `pyupgrade <https://pypi.org/project/pyupgrade/>`__,
30+
`ruff <https://pypi.org/project/ruff/>`__ and/or
31+
`com2ann <https://pypi.org/project/com2ann/>`__ can automatically perform
3132
these refactorings for you.
3233

3334
.. note::

0 commit comments

Comments
 (0)