fix(lint): clear E/W style-bucket ruff debt in backend/ (issue #100) #113
No reviewers
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!113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/100-ruff-style"
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?
Clears the ruff style bucket (E/W) for #100 at CI-pinned 0.15.17.
Scope cleared (204+37+10+23+7+5 = 286 errors -> 0):
except->except Exception:l-> lead/ln/loc/log/res (all usage sites renamed, no F821)== True-> truthy (SQLAlchemy-safe .where(), behavior-neutral)Out of scope: E402 (103) is the imports bucket, already cleared on fix/100-ruff-imports (PR #112). After both merge,
ruff check . --select E,W= 0.Verification:
cd backend && pytest tests/ -m 'not integration and not performance and not security': 1297 passed, 5 skipped, 0 failedruff format --check app/: 184 files already formatted (same as sibling PR #111/#112 baseline, zero new format debt)ruff check app/ --config ../pyproject.toml: 331 errors — identical to origin/main baseline (delta 0); remaining are other buckets' rules (PLC0415/F401/I001/UP042/UP047)Pull request closed