Skip to content

Commit af4693a

Browse files
authored
Suggest pyupgrade or ruff for modernizing superseded typing features (#1868)
Suggest `pyupgrade` or `ruff` for modernizing
1 parent f516a43 commit af4693a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/guides/modernizing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Each section states the minimum Python version required to use the
2424
feature, whether it is available in typing-extensions, and whether it is
2525
available using quoting.
2626

27+
.. tip::
28+
29+
Tools such as `pyupgrade <https://pypi.org/project/pyupgrade/>`__ or
30+
`ruff <https://pypi.org/project/ruff/>`__ can automatically perform
31+
these refactorings for you.
32+
2733
.. note::
2834

2935
The latest version of typing-extensions is available for all Python

0 commit comments

Comments
 (0)