chore(ci): add line-local rationales for lint/type suppressions (mc#1769) #1965
Reference in New Issue
Block a user
Delete Branch "fix/1769-suppression-rationales"
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?
Moves nearby block-comments onto the suppression lines so future reviewers can see WHY each noqa/type: ignore is safe without hunting through surrounding paragraphs.
Files touched:
.gitea/scripts/sop-checklist.py—type: ignore[import-not-found](optional yaml dep)scripts/ops/check_migration_collisions.py—noqa: S310(explicit timeout + error handling)scripts/wheel_smoke.py—noqa: F401x5 (smoke-test re-export regression guards)SOP Checklist
shellcheck+flake8pass locally; no runtime logic changed.prod-auto-deploy.pyandmain-red-watchdog.py.Fixes #1769
/sop-ack comprehensive-testing local-postgres-e2e staging-smoke root-cause five-axis-review no-backwards-compat memory-consulted
test
CR2 — Dev Engineer B (MiniMax)
5-axis review:
APPROVED
/sop-ack comprehensive-testing N/A
/sop-ack local-postgres-e2e N/A
/sop-ack staging-smoke N/A
/sop-ack root-cause See PR body
/sop-ack five-axis-review Reviewed
/sop-ack no-backwards-compat N/A
/sop-ack memory-consulted N/A
QA approved (#1965). Comment-only lint-rationale folding on 3 script files; all suppression codes preserved verbatim, no executable change. Build green.
CTO authority.
Non-author SOP ack (devops-engineer, engineers). /qa-recheck /security-recheck
Security approved (#1965). Comment-only, no security surface.