From aece054f2ce0890f073fc188e1ae7ffcff02cd70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Wed, 19 Aug 2026 16:10:59 +0200 Subject: [PATCH] chore: format code with ruff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Timothée Mazzucotelli --- python/zensical/collectors/references/cursor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/zensical/collectors/references/cursor.py b/python/zensical/collectors/references/cursor.py index 9faa83a..dd6f224 100644 --- a/python/zensical/collectors/references/cursor.py +++ b/python/zensical/collectors/references/cursor.py @@ -218,8 +218,7 @@ def _scan(cursor: Cursor) -> Iterator[Reference]: while cursor.peek(count) == _BACKTICK: count += 1 if ( - cursor.at_line_start() - and count >= 3 # noqa: PLR2004 + cursor.at_line_start() and count >= 3 # noqa: PLR2004 ): end = _scan_fenced_code(cursor, _BACKTICK) if end is not None: