Skip to content

fix(tests): silence E402 on conftest's post-path-insert imports#6

Merged
alex-spataru merged 1 commit into
mainfrom
fix/conftest-e402
Jun 1, 2026
Merged

fix(tests): silence E402 on conftest's post-path-insert imports#6
alex-spataru merged 1 commit into
mainfrom
fix/conftest-e402

Conversation

@alex-spataru
Copy link
Copy Markdown
Contributor

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.

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) <noreply@anthropic.com>
@alex-spataru alex-spataru merged commit b5785b0 into main Jun 1, 2026
@alex-spataru alex-spataru deleted the fix/conftest-e402 branch June 1, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant