Bump types-docutils to 0.21.0.20241005 (#12976)

This commit is contained in:
Adam Turner
2024-10-05 18:11:47 +01:00
committed by GitHub
parent d3df44cc8b
commit f7fa020cc2
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ lint = [
"sphinx-lint>=0.9",
"types-colorama==0.4.15.20240311",
"types-defusedxml==0.7.0.20240218",
"types-docutils==0.21.0.20241004",
"types-docutils==0.21.0.20241005",
"types-Pillow==10.2.0.20240822",
"types-Pygments==2.18.0.20240506",
"types-requests==2.32.0.20240914", # align with requests

View File

@@ -30,7 +30,7 @@ def settings(app):
# DeprecationWarning: The frontend.OptionParser class will be replaced
# by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
optparser = frontend.OptionParser(
components=(RstParser, HTMLWriter, LaTeXWriter), # type: ignore[arg-type]
components=(RstParser, HTMLWriter, LaTeXWriter),
defaults=default_settings,
)
settings = optparser.get_default_values()