lint: silence E402 baseline debt #303
No reviewers
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed!303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/silence-e402-baseline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Silences the remaining 48
E402(module-import-not-at-top-of-file) errors reported byruff check .againstorigin/masterHEAD88ff834.All 48 are pre-existing baseline debt from
sys.path.insert(...)before local imports in container entry-point scripts (docker/mesh_node.py,docker/ephemeral_worker.py,docker/bblkimi_local_worker.py,evolution/lineage_tracker.py,runtime/http_entrypoint.py,substrate/tls_reloader.py) and conftest fixtures (tests/e2e/conftest.py,tests/unit/conftest.py,tests/unit/factories.py, plus a handful oftests/unit/test_*modules that build their own sys.path).None are regressions from new code. None are in AUTH-006 files (
substrate/request_signing.py,sdk/python/mesh_client/signing.py,runtime/callback_dispatcher.py,runtime/_auth_decorators.py).Change
Single-line addition to
[tool.ruff.lint].ignoreinpyproject.toml, matching the established pattern for the other ~50 baseline-debt rule codes already in that list (UP017, BLE001, I001, EXE001, PLW*, RUF*, ...).Verification
ruff check .exits 0 against this branch.pytest tests/unit/ -qbaseline unchanged fromorigin/master: 1900 passed / 6 skipped / 3 failed / 23 errors — all 26 non-pass results are pre-existing huggingface-hub version-mismatch failures intests/unit/test_embedding_*, identical to the master baseline.git diff origin/master..HEAD -- pyproject.tomlshows ONLY the addition of"E402"and its comment. No unrelated edits.Impact
This unblocks kilo-gsd preflight on Mark/mesh-seed (kilo-gsd.py:1805-1859) — currently every dispatch on this repo is gated by
ruff check .until this lands. Cleared tickets include #142 (AUTH-006 Request Signing), #285 (multi-tenant wiring), and ~all held tickets on this repo.