Remove repository import from setup_utils and move password-hash helper to setup service

This commit is contained in:
2026-04-17 15:38:41 +02:00
parent e70d98809b
commit 74ff4cb4b8
4 changed files with 4 additions and 15 deletions

View File

@@ -195,6 +195,8 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
**Why this is needed:** Utils are stateless helpers with no external dependencies. Allowing them to import from the repository layer breaks the architectural contract, makes the utilities untestable without a database, and obscures what is actually a service-layer operation.
**Status:** Completed ✅
---
### Task 11 — Centralise `DbDep` — remove local redefinitions in `blocklist.py` and `geo.py`