style(scripts): auto-fix ruff F541, I001, F401 in 8 gitea scripts and tests #1804
Reference in New Issue
Block a user
Delete Branch "fix/ruff-lint-batch-3"
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?
Third batch of lint fixes (all auto-fixable):
Comprehensive testing performed
python3 -m ruff checkpasses on all 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.
5-axis review:
ruff --fix; 8 files with mechanical cleanups (del +4/-4 lines). No logic changes.APPROVED. CI running; all 32 checks currently show no failures. Ready to merge once CI clears and second reviewer confirms.
LGTM
LGTM — pure lint/style cleanup.
LGTM - pure lint/style cleanup.
CR2 cross-author review: mechanically correct ruff/ci cleanup, safe to merge.
CR2 cross-author review: mechanically correct ci/script fixes, safe to merge.
LGTM — second reviewer
LGTM — ruff-only script/test cleanup removes unused imports and f-string noise without changing behavior.