From 08f1afa5c2264711aee1ba944550e2bb75d77659 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 20 Jul 2024 01:51:17 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- myst_parser/mdit_to_docutils/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myst_parser/mdit_to_docutils/base.py b/myst_parser/mdit_to_docutils/base.py index 78bec4fc..439a37b5 100644 --- a/myst_parser/mdit_to_docutils/base.py +++ b/myst_parser/mdit_to_docutils/base.py @@ -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 @@ -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)