Skip to content

Commit 09c7b82

Browse files
authored
Fix the CI (#434)
1 parent 2c37bfc commit 09c7b82

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/sphinx_autodoc_typehints/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -921,8 +921,7 @@ def sphinx_autodoc_typehints_type_role(
921921
result in <span class="sphinx_autodoc_typehints-type"> </span>
922922
"""
923923
unescaped = unescape(text)
924-
# the typestubs for docutils don't have any info about Inliner
925-
doc = parse(unescaped, inliner.document.settings) # type: ignore[attr-defined]
924+
doc = parse(unescaped, inliner.document.settings)
926925
n = nodes.inline(text)
927926
n["classes"].append("sphinx_autodoc_typehints-type")
928927
n += doc.children[0].children

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extras =
5151
description = run type check on code base
5252
deps =
5353
mypy==1.8
54-
types-docutils>=0.20.0.20240201
54+
types-docutils>=0.20.0.20240304
5555
set_env =
5656
{tty:MYPY_FORCE_COLOR = 1}
5757
commands =
@@ -63,7 +63,7 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
6363
skip_install = true
6464
deps =
6565
covdefaults>=2.3
66-
coverage>=7.4.2
66+
coverage>=7.4.3
6767
diff-cover>=8.0.3
6868
extras =
6969
parallel_show_output = true
@@ -88,7 +88,7 @@ depends =
8888
description = check that the long description is valid (need for PyPI)
8989
skip_install = true
9090
deps =
91-
build[virtualenv]>=1.0.3
91+
build[virtualenv]>=1.1.1
9292
twine>=5
9393
extras =
9494
commands =

0 commit comments

Comments
 (0)