-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
there are two sources of truth for docutils type annotations.
this repo uses docutils-stubs
, but there's also typeshed annotations - types-docutils
.
Neither are complete, nor is one a subset of the other. types-docutils
was historically pretty poor but has seen more active development lately and has improved. doctuils-stubs
is more complete, but is out of date and unmaintained.
I believe this repo should migrate to the typeshed annotations and upstream anything missing from docutils-stubs
into typeshed.
cc @tk0miya
- improve type annotations in 'docutils.node.document' python/typeshed#11468
- improve type annotations in 'docutils.statemachine' python/typeshed#11469
- improve type annotations in 'docutils.transforms' python/typeshed#11471
- improve type annotations in 'docutils.parsers.rst.states.Inliner' python/typeshed#11473
- improve type annotations in 'docutils.parsers.rst.roles' python/typeshed#11481
- improve type annotations in 'docutils.readers' python/typeshed#11490
- improve type annotations in 'docutils.readers.doctree' python/typeshed#11492
- improve type safety when using NodeMatcher #12034
- improve type annotations in 'docutils.parsers.rst' python/typeshed#11523
- improve type annotations in 'docutils.utils.Reporter' python/typeshed#11521
- improve type annotations in 'docutils.node.document' python/typeshed#11468
- add 'paragraph' node to docutils python/typeshed#10102
- add docutils.nodes.General stub python/typeshed#10099
- fix annotation for directives.other.Include.run #12042
- improve type annotations in 'docutils.parsers.rst.directives.misc' python/typeshed#11524
-
[WIP] improve type annotations in 'docutils.parsers.rst.states' python/typeshed#11525 - improve type annotations in 'docutils.utils' python/typeshed#11526
- improve type annotations in 'docutils.parsers.rst.tableparser' python/typeshed#11530
- improve type annotations in 'docutils.nodes.Element' python/typeshed#11539
- improve type annotations in 'docutils.io.Input' python/typeshed#11540
- improve type annotations in 'docutils.parsers.rst.states' python/typeshed#11545
- improve type annotations in 'docutils.parsers.rst.directives' python/typeshed#11597
and the actual PR to migrate to typeshed (WIP): #12012
electric-coder, namurphy and chrisjsewell