Skip to content

Expand docutils.core.Publisher.get_settings types#14112

Merged
srittau merged 2 commits intopython:mainfrom
adamtheturtle:get-settings-type
May 22, 2025
Merged

Expand docutils.core.Publisher.get_settings types#14112
srittau merged 2 commits intopython:mainfrom
adamtheturtle:get-settings-type

Conversation

@adamtheturtle
Copy link
Contributor

Required to avoid adding new ignores to Sphinx with the latest types-docutils. See sphinx-doc/sphinx#13564.

Copied form @donbarbos's WIP at #14107.

adamtheturtle and others added 2 commits May 21, 2025 06:03
Required to avoid adding new ignores to Sphinx with the latest types-docutils.
See sphinx-doc/sphinx#13564.

Copied form @donbarbos's WIP at #14107.
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/io.py: note: In function "create_publisher":
- sphinx/io.py:189:5: error: Call to untyped function "get_settings" in typed context  [no-untyped-call]
- sphinx/builders/html/__init__.py: note: In member "__init__" of class "StandaloneHTMLBuilder":
- sphinx/builders/html/__init__.py:165:9: error: Call to untyped function "get_settings" in typed context  [no-untyped-call]

@srittau srittau merged commit 1789ba2 into python:main May 22, 2025
49 checks passed
@adamtheturtle adamtheturtle deleted the get-settings-type branch May 22, 2025 10:01
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.

3 participants