style: Apply formatter fixes to documentation

This commit is contained in:
Lukas 2025-12-26 12:54:35 +01:00
parent dfdac68ecc
commit 94cf36bff3
3 changed files with 21 additions and 19 deletions

View File

@ -124,7 +124,7 @@ src/core/
**Key Components:** **Key Components:**
| Component | Purpose | | Component | Purpose |
| ----------------- | ----------------------------------------------------------------------- | | -------------- | -------------------------------------------------------------------------- |
| `SeriesApp` | Main application facade for anime operations | | `SeriesApp` | Main application facade for anime operations |
| `SerieScanner` | Scans directories for anime; `scan_single_series()` for targeted scans | | `SerieScanner` | Scans directories for anime; `scan_single_series()` for targeted scans |
| `Serie` | Domain entity with `sanitized_folder` property for filesystem-safe names | | `Serie` | Domain entity with `sanitized_folder` property for filesystem-safe names |

View File

@ -208,6 +208,7 @@ Enhance the anime addition workflow to automatically persist anime to the databa
### Implementation Summary (Completed) ### Implementation Summary (Completed)
**Files Created/Modified:** **Files Created/Modified:**
- `src/server/utils/filesystem.py` - New file with `sanitize_folder_name()`, `is_safe_path()`, `create_safe_folder()` - `src/server/utils/filesystem.py` - New file with `sanitize_folder_name()`, `is_safe_path()`, `create_safe_folder()`
- `src/core/entities/series.py` - Added `sanitized_folder` property - `src/core/entities/series.py` - Added `sanitized_folder` property
- `src/core/entities/SerieList.py` - Updated `add()` to use sanitized folder names - `src/core/entities/SerieList.py` - Updated `add()` to use sanitized folder names
@ -215,6 +216,7 @@ Enhance the anime addition workflow to automatically persist anime to the databa
- `src/server/api/anime.py` - Enhanced `add_series` endpoint with full flow - `src/server/api/anime.py` - Enhanced `add_series` endpoint with full flow
**Tests Added:** **Tests Added:**
- `tests/unit/test_filesystem_utils.py` - 43 tests for filesystem utilities - `tests/unit/test_filesystem_utils.py` - 43 tests for filesystem utilities
- `tests/unit/test_serie_class.py` - 6 tests for `sanitized_folder` property - `tests/unit/test_serie_class.py` - 6 tests for `sanitized_folder` property
- `tests/unit/test_serie_scanner.py` - 9 tests for `scan_single_series()` - `tests/unit/test_serie_scanner.py` - 9 tests for `scan_single_series()`