File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/sphinx_autodoc_typehints Expand file tree Collapse file tree 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(
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
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ extras =
5151description = run type check on code base
5252deps =
5353 mypy ==1.8
54- types-docutils>=0.20.0.20240201
54+ types-docutils>=0.20.0.20240304
5555set_env =
5656 {tty:MYPY_FORCE_COLOR = 1}
5757commands =
@@ -63,7 +63,7 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
6363skip_install = true
6464deps =
6565 covdefaults>=2.3
66- coverage>=7.4.2
66+ coverage>=7.4.3
6767 diff-cover>=8.0.3
6868extras =
6969parallel_show_output = true
@@ -88,7 +88,7 @@ depends =
8888description = check that the long description is valid (need for PyPI)
8989skip_install = true
9090deps =
91- build[virtualenv]>=1.0.3
91+ build[virtualenv]>=1.1.1
9292 twine>=5
9393extras =
9494commands =
You can’t perform that action at this time.
0 commit comments