Fix #97: hoist PLC0415 imports to top-level #99
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!99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/97-plc0415-imports"
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?
Closes #97
Hoists inline PLC0415 imports to top-level in the four files flagged by ruff:
backend/app/change_detector.py—jsonbackend/app/main.py—logging,timebackend/app/modules/abuseipdb.py—settingsbackend/app/modules/dark_web_monitor.py—aiohttp.socks(try/except guard,_has_socksunchanged)Validation:
app.main,app.change_detector,app.modules.abuseipdb,app.modules.dark_web_monitorall succeed; no module importsapp.mainin reverse.ruff checkon all four touched files: All checks passed (exit 0).ruff check .: 270 errors on this branch vs 275 at baseb81dc67— zero new errors, exactly the 5 targeted PLC0415s removed (repo baseline is pre-existing dirty; CI lint job also reduces 373 → 368 in backend/app).Pull request closed