style(tests): fix ruff F401, F541, F841, E741 in 10 files #1821
Reference in New Issue
Block a user
Delete Branch "fix/ruff-cleanup-test-scripts-22-issues"
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?
Cleans up 22 ruff lint errors discovered by
ruff check --select=E,W,F:l→lnin test_main_red_watchdog.pyAll changes are test/script only; no production code affected.
Comprehensive testing performed
python3 -m ruff checkpasses on all 10 modified files.Local-postgres E2E run
N/A — no database-affecting code.
Staging-smoke verified or pending
N/A — test/script-only change; staging surface unaffected.
Root-cause not symptom
N/A — style cleanup, not a bugfix.
Five-Axis review walked
N/A — no production logic.
No backwards-compat shim / dead code added
Yes — only removed unused imports and variables (dead-code elimination).
Memory/saved-feedback consulted
N/A — routine lint hygiene.
LGTM — style fix.
New commits pushed, approval review dismissed automatically according to repository settings
3e62eb62f2to6f230fba38LGTM — F401/F541/F841/E741 fixes in test scripts, CI green.
Cross-author review note: PR has my APPROVED (5-axis LGTM). Merge blocked on nd=2 — please consider requesting review from core-qa or core-security if not already done.
LGTM — cross-author review of style/lint fixes. Clean changes.
CR2 cross-author review: clean ruff fixes, mechanically correct, safe to merge.
LGTM — second reviewer
LGTM — test-only ruff cleanup removes unused imports/variables and formatting issues without behavioral risk.