Skip to content

Add stubs for docutils.parsers.rst.directives #5755

@adamtheturtle

Description

@adamtheturtle

Checking the following with mypy:

from docutils.parsers.rst import directives

gives:

src/sphinx_substitution_extensions/__init__.py:10: error: Module "docutils.parsers.rst" has no attribute "directives"; maybe "Directive"?

Relevant source code:

https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/parsers/rst/directives/

Metadata

Metadata

Assignees

No one assigned

    Labels

    stubs: incompleteAnnotations or sub-modules missing from an existing package or module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions