fix(mypy): clear Real-bug bucket for in-scope codes (resolves #116) #124
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!124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/116-mypy-real-bug-bucket"
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?
Resolves Mark/osint-hub#116 — fix all Real-bug mypy errors in the Mark/osint-hub backend across codes [assignment], [arg-type], [return-value], [attr-defined], [misc], [valid-type], [call-arg].
Scope. 145 real-bug rows fixed across 58 files. The card body reported 335 at the @
9931443snapshot; 190 were incidentally cleared by PR #119 (annotation-debt bucket, landed before this fix) and 145 still remained on origin/main @abdf87d— those are all now resolved.Rebase notes (2026-09-11). Rebased onto origin/main @
c5b75e1(post-PR #122/#123). Dropped the local copy of PR #119's annotation-debt commit (5ccbd61) since it's functionally identical to main'sabdf87d— only formatting differences. Resolved one merge conflict in backend/app/services/investigations/async_executor.py:load_tasks by combining the #116 cast on InvestigationTask.status.in_(...) (attr-defined fix) with the #119 multi-line order_by style, with casts on both priority.desc() and created_at per the #116 pattern. Verification post-rebase: mypy app/ shows 139 errors total, 0 in in-scope codes (var-annotated 38, union-attr 24, unreachable 20, no-any-return 15, index 10, redundant-cast 9, dict-item 7, operator 7, unused-ignore 6, no-redef 1, override 1, truthy-function 1 — all out-of-scope, owned by other fixit cards).Mark referenced this pull request2026-09-14 23:05:24 +00:00