Skip to content

Commit 4260c59

Browse files
committed
docs(conf): Fix mypy errors for CI (uv run mypy .)
1 parent 4d795fe commit 4260c59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import typing as t
88

99
if t.TYPE_CHECKING:
10-
from docutils import nodes
10+
from docutils import nodes # type: ignore[import-untyped]
1111
from sphinx import addnodes
1212
from sphinx.application import Sphinx
1313
from sphinx.domains.python import PythonDomain
@@ -76,7 +76,7 @@ def _on_missing_class_reference(
7676

7777
py_domain: PythonDomain = env.get_domain("py") # type: ignore[assignment]
7878
target = node.get("reftarget", "")
79-
matches = py_domain.find_obj(env, "", "", target, None, 1)
79+
matches = py_domain.find_obj(env, "", "", target, None, 1) # type: ignore[attr-defined,unused-ignore]
8080
if not matches:
8181
return None
8282
_name, obj_entry = matches[0]

0 commit comments

Comments
 (0)