Bump `types-docutils` to 0.21.0.20240711 (#12529)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
M BussonnierandAdam Turner authored and GitHub committed 2024-07-11 06:55:58 +01:00
1 parent 6cc1177d10
commit 602bfe4255
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ lint = [
"ruff==0.5.1",
"mypy==1.10.1",
"sphinx-lint",
"types-docutils==0.21.0.20240708",
"types-docutils==0.21.0.20240711",
"types-requests",
"importlib_metadata", # for mypy (Python<=3.9)
"tomli", # for mypy (Python<=3.10)
+1 -1
View File
@@ -758,7 +758,7 @@ class Sphinx:
logger.warning(__('role %r is already registered, it will be overridden'),
name, type='app', subtype='add_generic_role')
role = roles.GenericRole(name, nodeclass)
docutils.register_role(name, role) # type: ignore[arg-type]
docutils.register_role(name, role)
def add_domain(self, domain: type[Domain], override: bool = False) -> None:
"""Register a domain.