Move conffile_parser from services to utils

This commit is contained in:
2026-03-17 11:11:08 +01:00
parent dfbe126368
commit ce59a66973
11 changed files with 226 additions and 62 deletions

View File

@@ -77,6 +77,8 @@ This document breaks the entire BanGUI project into development stages, ordered
#### TASK B-4 — Move `conffile_parser.py` from `services/` to `utils/`
**Status:** Completed ✅
**Violated rule:** Refactoring.md §2.2 and Architecture §2.1 — `services/` is for business logic. `conffile_parser.py` is a pure, stateless parsing library with no framework dependencies (no FastAPI, no aiosqlite). It belongs in `utils/`.
**Files affected:**
@@ -187,6 +189,8 @@ Remove or rewrite the docstring snippet so it does not contain a bare `print()`
#### TASK B-10 — Replace `Any` type usage in `history_service.py`
**Status:** Completed ✅
**Violated rule:** Backend-Development.md §1 — Never use `Any`; all functions must have explicit type annotations.
**Files affected:**
@@ -203,6 +207,8 @@ Remove or rewrite the docstring snippet so it does not contain a bare `print()`
#### TASK B-11 — Reduce `Any` usage in `server_service.py`
**Status:** Completed ✅
**Violated rule:** Backend-Development.md §1 — Never use `Any`; all functions must have explicit type annotations.
**Files affected:**