Skip to content

Commit

Permalink
Modernizing guide: also mention com2ann (#1869)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AlexWaygood authored Oct 23, 2024
1 parent af4693a commit adc675f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/guides/modernizing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ available using quoting.

.. tip::

Tools such as `pyupgrade <https://pypi.org/project/pyupgrade/>`__ or
`ruff <https://pypi.org/project/ruff/>`__ can automatically perform
Tools such as `pyupgrade <https://pypi.org/project/pyupgrade/>`__,
`ruff <https://pypi.org/project/ruff/>`__ and/or
`com2ann <https://pypi.org/project/com2ann/>`__ can automatically perform
these refactorings for you.

.. note::
Expand Down

0 comments on commit adc675f

Please sign in to comment.