Move conffile_parser from services to utils
This commit is contained in:
@@ -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:**
|
||||
|
||||
Reference in New Issue
Block a user