From fec367dc23a2e21644237e4db91e6759b4e46eb3 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Mon, 1 Jun 2026 06:53:55 -0400 Subject: [PATCH] fix(tests): silence E402 on conftest's post-path-insert imports The pytest and deglyph imports must follow the sys.path.insert so the checkout shadows any globally installed deglyph; E402 flags the deliberate ordering. Mark both with # noqa: E402 (an allowed tool directive under the comment contract) to clear the ruff lint gate. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 018253a..43d2472 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -23,9 +23,9 @@ if _REPO_ROOT not in sys.path: sys.path.insert(0, _REPO_ROOT) -import pytest +import pytest # noqa: E402 -from deglyph.core.image import Arch, Func, Image, Section +from deglyph.core.image import Arch, Func, Image, Section # noqa: E402 @pytest.fixture