Remaining ruff violations keep CI lint gate red (ruff check . exits non-zero after PR #99) #100
Labels
No labels
agentic-osint
audit
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:preflight
blocked:verify-failed
bug
chore
deferred
enhancement
feature-request
in-progress
lint-baseline
lint-cleanup
needs-decompose
needs-triage
performance
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/osint-hub#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Finding from kanban card t_cc6ee6c4 (fixit board). The fix for #97 (PR #99) hoisted the 5 PLC0415 imports to top-level, but the card acceptance criterion "ruff exits 0 across the repo" is still not met — the repo carries a large pre-existing ruff debt, so the CI lint job stays red even after the PR merges.
Reproduction steps
git checkout fix/97-plc0415-imports(ormainatb81dc67)cd backend && ruff check ..forgejo/workflows/ci.ymldoes:cd backend && ruff check app/ --config ../pyproject.tomlActual behavior
ruff check .: exit code 1 — Found 219 errors (ruff 0.15.17); 270 errors with ruff 0.16.1 (repo-root run during the fix).ruff check app/ --config ../pyproject.toml: exit code 1 — Found 326 errors (ruff 0.15.17); 368 errors with ruff 0.16.1.b81dc67had 275), but the gate still fails.Expected behavior
ruff check .exits 0 across the repo; CI lint job (ruff check app/) passes.Context
Bucket 4 of 5 complete: SIM/C/PLR/PLW/RUF/ISC/COM/PIE/RET/PERF → 0 errors at ruff 0.15.17.
PR: #114 (branch
fix/100-ruff-sim-plr@c81e024, 242 files)Sibling PRs (already open):
AC satisfied:
cd backend && ruff check . --select SIM,UP,PIE,RET,PERF,RUF,ISC,COM,C,PLR,PLW,Bexits 0.Tests: 935 passed, 1 skipped, 0 failed.
Verifier child t_7755ce59 (gated on this bucket + 3 siblings) is now unblocked and can run its convergence check after all 4 sibling PRs merge.
PR #126 opened —
fix/100-ruff-autofixes-rebasedis the rebased-onto-current-main successor to draft PR #125. Head0c83e23c, mergeable=true.Acceptance (card-spec gates):
Test results:
18 failed, 1279 passed, 5 skipped, 490 deselected— same 18 failures as baselinegit stash(without my changes); pre-existing on main, not introduced by this PR.Residual addressed:
**/app/...)isort.known-first-party = ["app"])Out-of-scope:
ruff format --check app/remains RED on main (129 files unformatted) and on this branch (117). Card acceptance does not include the format gate — that's a separate, larger lane.Draft PR #125 closed; this is the new contract.
Refs #100
PR opened: #128 (
fix/ruff-autofix-wave1→ main).Both card-spec ruff gates exit 0 locally:
cd backend && ruff check .→ All checks passed!cd backend && ruff check app/ --config ../pyproject.toml→ All checks passed! (this is the CI-exact command)CI
backend-lintjob is GREEN on theruff checkstep. Theruff format --checksub-step is RED with a pre-existing failure on origin/main — flagged in the PR description; tracking in a follow-up card on the fixit board.