Skip to content

Commit f5e8e2c

Browse files
authored
minor style fixes
1 parent e04bc57 commit f5e8e2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyter_sphinx/ast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def cell_output_to_nodes(outputs, data_priority, write_stderr, dir,
252252
Each output, converted into a docutils node.
253253
"""
254254
# If we're in `inline` mode, ensure that we don't add block-level nodes
255-
if inline is True:
255+
if inline:
256256
literal_node = docutils.nodes.literal
257257
math_node = docutils.nodes.math
258258
else:
@@ -282,7 +282,7 @@ def cell_output_to_nodes(outputs, data_priority, write_stderr, dir,
282282
language="none",
283283
classes=["stderr"],
284284
)
285-
if inline is True:
285+
if inline:
286286
# In this case, we don't wrap the text in containers
287287
to_add.append(literal)
288288
else:

0 commit comments

Comments
 (0)