Skip to content

[docutils] Annotate publish_doctree parameters - #16416

Open
adamtheturtle wants to merge 1 commit into
python:mainfrom
adamtheturtle:docutils-publish-doctree-parameters
Open

adamtheturtle wants to merge 1 commit into
python:mainfrom
adamtheturtle:docutils-publish-doctree-parameters

Conversation

@adamtheturtle

Copy link
Copy Markdown
Contributor

Annotate the parameters accepted by docutils.core.publish_doctree.

The Docutils implementation forwards these values to publish_programmatically, whose parameter documentation defines the accepted source, component, settings, settings-spec, and override values. Explicit annotations prevent strict type checkers from treating the public function as partially unknown.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant