Skip to content

Commit 7ff5991

Browse files
authored
Update docs for tools that inline pyi (#1352)
retype is no longer maintained. Since it's based on lib2to3, its corpse is not going to be useful for too long. merge_pyi now just wraps libCST, so mention that. If someone seeing this is looking for things to do, I think libCST's support here could be improved. E.g., I filed Instagram/LibCST#868 But maybe that should convert to typing.Union. I'm sure there are other things that could be improved!
1 parent 1884714 commit 7ff5991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Type-Hint and Stub Integration
8080

8181
* `autotyping <https://github.com/JelleZijlstra/autotyping>`_, a tool which infers simple types from their context and inserts them as inline type-hints.
8282
* `merge_pyi <https://google.github.io/pytype/developers/tools.html#merge_pyi>`_, integrates .pyi signatures as inline type-hints in Python source code.
83-
* `retype <https://github.com/ambv/retype>`_, Re-applies type annotations from .pyi stubs to your codebase.
83+
This is a thin wrapper around ``ApplyTypeAnnotationsVisitor`` from `libCST <https://libcst.readthedocs.io/en/latest/>`_.
8484

8585
Typing PEPs
8686
===========

0 commit comments

Comments
 (0)