Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 20, 2024
1 parent 3b9c7f8 commit 08f1afa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions myst_parser/mdit_to_docutils/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def render_paragraph(self, token: SyntaxTreeNode) -> None:
def render_inline(self, token: SyntaxTreeNode) -> None:
lineblock = False
for child in token.children or []:
if child.type == 'hardbreak':
if child.type == "hardbreak":
lineblock = True
break

Expand All @@ -552,7 +552,7 @@ def render_inline(self, token: SyntaxTreeNode) -> None:
lineblock.append(current_line)

for child in token.children or []:
if child.type == 'hardbreak':
if child.type == "hardbreak":
current_line = nodes.line()
self.add_line_and_source_path(current_line, token)
lineblock.append(current_line)
Expand Down

0 comments on commit 08f1afa

Please sign in to comment.