diff --git a/pyproject.toml b/pyproject.toml index cbc4beaad..3f4839910 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 diff --git a/tests/test_markup/test_markup.py b/tests/test_markup/test_markup.py index dc37051b8..97529dac8 100644 --- a/tests/test_markup/test_markup.py +++ b/tests/test_markup/test_markup.py @@ -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()