Commit 09c7b82 1 parent 2c37bfc commit 09c7b82 Copy full SHA for 09c7b82
File tree 2 files changed +4
-5
lines changed
src/sphinx_autodoc_typehints
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -921,8 +921,7 @@ def sphinx_autodoc_typehints_type_role(
921
921
result in <span class="sphinx_autodoc_typehints-type"> </span>
922
922
"""
923
923
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 )
926
925
n = nodes .inline (text )
927
926
n ["classes" ].append ("sphinx_autodoc_typehints-type" )
928
927
n += doc .children [0 ].children
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ extras =
51
51
description = run type check on code base
52
52
deps =
53
53
mypy ==1.8
54
- types-docutils>=0.20.0.20240201
54
+ types-docutils>=0.20.0.20240304
55
55
set_env =
56
56
{tty:MYPY_FORCE_COLOR = 1}
57
57
commands =
@@ -63,7 +63,7 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
63
63
skip_install = true
64
64
deps =
65
65
covdefaults>=2.3
66
- coverage>=7.4.2
66
+ coverage>=7.4.3
67
67
diff-cover>=8.0.3
68
68
extras =
69
69
parallel_show_output = true
@@ -88,7 +88,7 @@ depends =
88
88
description = check that the long description is valid (need for PyPI)
89
89
skip_install = true
90
90
deps =
91
- build[virtualenv]>=1.0.3
91
+ build[virtualenv]>=1.1.1
92
92
twine>=5
93
93
extras =
94
94
commands =
You can’t perform that action at this time.
0 commit comments