Skip to content

Commit 946675e

Browse files
committed
ignore type stuff
1 parent 8864910 commit 946675e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

myst_nb/core/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def render_nb_cell_markdown(self: SelfType, token: SyntaxTreeNode) -> None:
115115
# it would be nice to "wrap" this in a container that included the metadata,
116116
# but unfortunately this would break the heading structure of docutils/sphinx.
117117
# perhaps we add an "invisible" (non-rendered) marker node to the document tree,
118-
self.current_cell = token
118+
self.current_cell = token # type: ignore[union-attr]
119119
self.render_children(token)
120120

121121
def render_nb_cell_raw(self: SelfType, token: SyntaxTreeNode) -> None:

0 commit comments

Comments
 (0)